5.12 shadow build not working



  • I am able to do static build in sources folder, however, shadow building is not working. I've followed directions as listed on Qt 5.12 wiki, also tried instructions from several blogs online - same error:

            C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Release
            cd 3rdparty\pcre2\ && ( if not exist Makefile C:\Qt\Static\5.12.0_crt\qtbase\bin\qmake.exe -o Makefile C:\Qt\Sta
    tic\qt-everywhere-src-5.12.0\qtbase\src\3rdparty\pcre2\pcre2.pro ) && C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile
            C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug all
            C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Release all
            cd tools\moc\ && ( if not exist Makefile C:\Qt\Static\5.12.0_crt\qtbase\bin\qmake.exe -o Makefile C:\Qt\Static\q
    t-everywhere-src-5.12.0\qtbase\src\tools\moc\moc.pro ) && C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile
    Project ERROR: Unknown module(s) in QT: bootstrap-private
    jom: C:\Qt\Static\5.12.0_crt\qtbase\src\Makefile [sub-moc-make_first] Error 3
            cd tools\rcc\ && ( if not exist Makefile C:\Qt\Static\5.12.0_crt\qtbase\bin\qmake.exe -o Makefile C:\Qt\Static\q
    t-everywhere-src-5.12.0\qtbase\src\tools\rcc\rcc.pro ) && C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile
            cd tools\qfloat16-tables\ && ( if not exist Makefile C:\Qt\Static\5.12.0_crt\qtbase\bin\qmake.exe -o Makefile C:
    \Qt\Static\qt-everywhere-src-5.12.0\qtbase\src\tools\qfloat16-tables\qfloat16-tables.pro ) && C:\Qt\Tools\QtCreator\bin\
    jom.exe -f Makefile
    Project ERROR: Unknown module(s) in QT: bootstrap-private
    jom: C:\Qt\Static\5.12.0_crt\qtbase\src\Makefile [sub-rcc-make_first] Error 3
    Project ERROR: Unknown module(s) in QT: bootstrap-private
    jom: C:\Qt\Static\5.12.0_crt\qtbase\src\Makefile [sub-qfloat16-tables-make_first] Error 3
    jom: C:\Qt\Static\5.12.0_crt\qtbase\Makefile [sub-src-make_first] Error 2
    jom: C:\Qt\Static\5.12.0_crt\Makefile [module-qtbase-make_first] Error 2
    

    Note: the only thing I'm doing differently then what's on the qt wiki is not running qmake because makefiles are already generated by configure and it says at the end of configure output to use nmake or jom.

    MSVC 2017
    Windows 7 (64-bit)
    Qt 32-bit build


  • Lifetime Qt Champion

    Hi,

    Did you also provide a prefix in the configure options ?



  • Yes. following is the exact command:

    C:\Qt\Static\5.12.0_crt>..\qt-everywhere-src-5.12.0\configure -commercial -static -debug-and-release -prefix C:\Qt\Static\5.12.0_crt -platform win32-msvc2017 -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -sql-odbc -sql-sqlite -make libs -nomake tools -nomake examples -nomake tests -openssl-linked OPENSSL_LIBS="-llibssl -llibcrypto" -I c:\openssl\build32\include -L c:\openssl\build32\lib
    

    If I run this same command (including prefix) from the qt-everywhere-src-5.12.0 (sources) folder, then build works perfectly fine.


  • Lifetime Qt Champion

    Qt 5.12.1 just got released. Could you check it the same thing still happens to you ?



  • @SGaist Same error.

    Noticed that at the end of the config (only on 15.12.1) I'm getting a message about ensuring LLVM path is setup properly. Never seen anywhere else that I need LLVM to build sources on Windows using VS. Is LLVM needed now?


  • Lifetime Qt Champion

    Yes it is, since 5.11, see the QDoc Dependencies.

    As for your problem, you should check the bug report system to see if there's already something there. You're not the only one to which it happens. If nothing is already available, please open a new report with the complete procedure you used to build Qt statically so it can be easily reproduced.

    [mrjj fixed qdoc link]


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.