Attempt to build Qt from sources leads to error

Victor

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?

Avanz

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.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Attempt to build Qt from sources leads to error

From Dev

multiple sources for data leads to `invalid array width!` error

From Dev

Build error with QT QRgb

From Dev

ssh from screen leads to unknown terminal error

From Dev

Readthedocs build fails on reading sources without error

From Dev

Step into Qt Sources from Qt Creator on Windows (NOT built from source)

From Dev

How to build scene builder from openjfx sources

From Dev

Build Qt project from AppVeyor

From Dev

FROM Statement Giving an Error (3 Sources)

From Dev

How to change VIMRUNTIME directory after build from sources

From Dev

How does one build android kernel from sources on Ubuntu 13.04

From Dev

How does one build android kernel from sources on Ubuntu 13.04

From Dev

How to build all my installed package from sources?

From Dev

build X11R7.7 from sources - in which order

From Dev

Error while creating qmake for a Qt static build

From Dev

Cannot build unity scope from qt creator

From Dev

Qt build version from shared object

From Dev

Is this error from Qt or my program?

From Dev

Attempt retrieval of value from VBA dictionary and raise error if key not in use?

From Dev

How to build the native Android sources from Codename One's build server

From Dev

Removing dead code leads to error

From Dev

Programming error leads to inexplanable regex

From Dev

Gradle 'Build Script error' occurs when I attempt to use testCompile in dependencies

From Dev

Attempt to build example library fails in domino designer 9.0 with sparse info on error

From Dev

Loading datastore entities from Python project in Go leads to nested structs slices of slices error

From Dev

Qt Undefined Reference at Include Sources

From Dev

Qt Undefined Reference at Include Sources

From Dev

String decorator class leads to numerous build errors

From Dev

Apple Mach-O Linker Error even with the .m files added to Compile Sources of Build Phases

Related Related

  1. 1

    Attempt to build Qt from sources leads to error

  2. 2

    multiple sources for data leads to `invalid array width!` error

  3. 3

    Build error with QT QRgb

  4. 4

    ssh from screen leads to unknown terminal error

  5. 5

    Readthedocs build fails on reading sources without error

  6. 6

    Step into Qt Sources from Qt Creator on Windows (NOT built from source)

  7. 7

    How to build scene builder from openjfx sources

  8. 8

    Build Qt project from AppVeyor

  9. 9

    FROM Statement Giving an Error (3 Sources)

  10. 10

    How to change VIMRUNTIME directory after build from sources

  11. 11

    How does one build android kernel from sources on Ubuntu 13.04

  12. 12

    How does one build android kernel from sources on Ubuntu 13.04

  13. 13

    How to build all my installed package from sources?

  14. 14

    build X11R7.7 from sources - in which order

  15. 15

    Error while creating qmake for a Qt static build

  16. 16

    Cannot build unity scope from qt creator

  17. 17

    Qt build version from shared object

  18. 18

    Is this error from Qt or my program?

  19. 19

    Attempt retrieval of value from VBA dictionary and raise error if key not in use?

  20. 20

    How to build the native Android sources from Codename One's build server

  21. 21

    Removing dead code leads to error

  22. 22

    Programming error leads to inexplanable regex

  23. 23

    Gradle 'Build Script error' occurs when I attempt to use testCompile in dependencies

  24. 24

    Attempt to build example library fails in domino designer 9.0 with sparse info on error

  25. 25

    Loading datastore entities from Python project in Go leads to nested structs slices of slices error

  26. 26

    Qt Undefined Reference at Include Sources

  27. 27

    Qt Undefined Reference at Include Sources

  28. 28

    String decorator class leads to numerous build errors

  29. 29

    Apple Mach-O Linker Error even with the .m files added to Compile Sources of Build Phases

HotTag

Archive