Qt static build



  • when I try to compile Qt statically, I get the following error. In the network, I found solutions for similar problem on Linux, but I have windows 10. What I should do?

    Generating Code...
            lib /NOLOGO  /OUT:\lib\Qt5Bootstrap.lib @C:\Users\User\AppData\Local\Temp\nm6E2A.tmp
            cd tools\moc\ && ( if not exist Makefile C:\Qt\5.11.1\bin\qmake.exe -o Makefile C:\Qt\5.10.1\Src\qtbase\src\tools\moc\moc.pro ) && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64\nmake.exe" -f Makefile
    Project ERROR: Unknown module(s) in QT: bootstrap-private
    NMAKE : fatal error U1077: 'cd' : return code '0x3'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    

    qt 5.11.1 msvc 14.1

    used this tutorial
    https://wiki.qt.io/Build_Standalone_Qt_Application_for_Windows


Log in to reply
 

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