I tried building more Qt versions (5.20., and 5.3.0 alpha) from sources, and I followed the instructions from their website. I open up the Visual Studio 2013 x64 Native Tools command line.
My command line looks like this:
configure -debug -nomake examples -opensource -platform win32-msvc2013
The configure
process runs apparently well. (I mean that don't get any error). Though, when I start building it, with this line:
jom
It works for about 5 to 10 minutes, then my command line reports the following errors:
c:\qt\qt5.3.0\qt-source\qtdeclarative\src\3rdparty\masm\assembler\MacroAssemblerX86Common.h(913) : see eference to class template instantiation 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::JumpList' being compiled
jom: C:\Qt\Qt5.3.0\QT-SOURCE\qtdeclarative\src\qml\Makefile.Debug [RegExpJitTables.h] Error 1
jom: C:\Qt\Qt5.3.0\QT-SOURCE\qtdeclarative\src\qml\Makefile [debug] Error 2
jom: C:\Qt\Qt5.3.0\QT-SOURCE\qtdeclarative\src\Makefile [sub-qml-make_first-ordered] Error 2
jom: C:\Qt\Qt5.3.0\QT-SOURCE\qtdeclarative\Makefile [sub-src-make_first] Error 2
jom: C:\Qt\Qt5.3.0\QT-SOURCE\Makefile [module-qtdeclarative-make_first] Error 2
Where am I wrong? How can I solve this?
I got a quite similar problem some time ago.
If you want to build Qt5, then use the source from GIT cloning it:
git clone git://gitorious.org/qt/qt5.git qt5
cd qt5
git checkout stable
Also, if you are not going to use webkit or any other lib, then just let it out - e.g.:
configure -debug-and-release -no-webkit -opensource -platform win32-msvc2013
It can take a while to finish processing. Go make a coffee and then come back later. Now if no error appears, run the command:
..jom.exe -j 8
It should work. Otherwise, just post a comment how it goes and we can follow up to ge it up and running.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With