Nominate our 2022 Qt Champions!

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\ ) && "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'
    NMAKE : fatal error U1077: 'cd' : return code '0x2'

    qt 5.11.1 msvc 14.1

    used this tutorial

Log in to reply