简体   繁体   中英

How to configure Qt to build all modules?

I am following the guide to build Qt from sources, but the build seems to be incomplete, I am building with the following configuration:

configure -prefix E:\\Qt57b_static_mingw5_64 -release -developer-build -opensource -c++std c++1z -static -no-accessibility -platform win32-g++ -qt-zlib -qt-libpng -qt-libjpeg -qt-freetype -no-compile-examples -no-icu -opengl desktop -skip qtscript -nomake examples -nomake tests

Then jom -j 16 and 15 minutes later it is "done".

I also notice that it doesn't install anything in the prefix directory, and from the timestamps it appears the build has not touched most of the model folders. It only builds qtbase and a few other smaller modules, they do contain the static libs, but the rest is not being built.

Is there something special I need to do in order to build everything? It wasn't the case last time I built Qt. Or maybe something with the configuration is wrong? Or maybe GCC5 has a problem with Qt? Before I was always building with 4.9. Also I am building a beta release.

The platform is win 7 x64, mingw-w64-i686-gcc 5.3.0-1

EDIT: After running a shadow build, I noticed that the configuration indeed only prepares qtbase for building, the rest is not built.

You've built likely everything, but you've installed nothing.

You need to:

jom -j
jom install -j

The number of threads to run in parallel is not needed unless you want to use a number other than the number of logical cores.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM