Problems Building a static Qt for Windows using MinGW
Unsolved
Installation and Deployment
-
hi all,
i'm trying to build a static Qt for Windows using MinGW following the wiki here: https://wiki.qt.io/Building_a_static_Qt_for_Windows_using_MinGW
it fails with the following message:
CMake Error at qtbase/cmake/QtExecutableHelpers.cmake:475 (message): Unable to build syncqt: Change Dir: D:/Qt/Static/src/qt-everywhere-src-6.5.1/qtbase/src/tools/syncqt/configure_time_bins Run Build Command(s):C:/Qt/Tools/Ninja/ninja.exe && [1/1] Linking CXX executable D:\Qt\Static\src\qt-everywhere-src-6.5.1\qtbase\bin\syncqt.exe FAILED: D:/Qt/Static/src/qt-everywhere-src-6.5.1/qtbase/bin/syncqt.exe cmd.exe /C "cd . && C:\Strawberry\c\bin\c++.exe -O2 -g -DNDEBUG CMakeFiles/syncqt.dir/main.cpp.obj -o D:\Qt\Static\src\qt-everywhere-src-6.5.1\qtbase\bin\syncqt.exe -Wl,--out-implib,libsyncqt.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ."
followed by tons of error messages on undefined references (which is probably due to the failure of synchqt?)
what am i doing wrong here?!?
thanks
alex -
hi all,
i'm trying to build a static Qt for Windows using MinGW following the wiki here: https://wiki.qt.io/Building_a_static_Qt_for_Windows_using_MinGW
it fails with the following message:
CMake Error at qtbase/cmake/QtExecutableHelpers.cmake:475 (message): Unable to build syncqt: Change Dir: D:/Qt/Static/src/qt-everywhere-src-6.5.1/qtbase/src/tools/syncqt/configure_time_bins Run Build Command(s):C:/Qt/Tools/Ninja/ninja.exe && [1/1] Linking CXX executable D:\Qt\Static\src\qt-everywhere-src-6.5.1\qtbase\bin\syncqt.exe FAILED: D:/Qt/Static/src/qt-everywhere-src-6.5.1/qtbase/bin/syncqt.exe cmd.exe /C "cd . && C:\Strawberry\c\bin\c++.exe -O2 -g -DNDEBUG CMakeFiles/syncqt.dir/main.cpp.obj -o D:\Qt\Static\src\qt-everywhere-src-6.5.1\qtbase\bin\syncqt.exe -Wl,--out-implib,libsyncqt.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ."
followed by tons of error messages on undefined references (which is probably due to the failure of synchqt?)
what am i doing wrong here?!?
thanks
alex