-
Bug
-
Resolution: Done
-
P2: Important
-
1.3.2
-
None
-
* Windows 8.1 x32
* Qt qt-opensource-windows-x86-mingw482-4.8.6-1.exe
* QtCreator 3.2.2 (with integrated Qbs)
-
620ded809355d43b00723349539171618e8e668e (QtC)
Attempt to build (from QtCreator 3.2.2) of the simple QBS example "qbs\examples\helloworld-qt" failed with error:
15:56:38: Running steps for project hello... compiling main.cpp linking HelloWorld-Qt.exe C:/mingw32/bin/i686-w64-mingw32-g++.exe -m32 -O2 -Wall -Wextra E:/git/ng/qbs/examples/build-helloworld-qt/qtc_Desktop_4_8_6_mingw-release/HelloWorld-Qt.qtc_Desktop_4_8_6_mingw/.obj/main.cpp.o -o E:/git/ng/qbs/examples/build-helloworld-qt/qtc_Desktop_4_8_6_mingw-release/HelloWorld-Qt.qtc_Desktop_4_8_6_mingw/HelloWorld-Qt.exe -LC:/Qt/4.8.6-mingw/lib -LC:/Qt/4.8.6-mingw/plugins/platforms -l -lqtmain "-Wl,--unresolved-symbols=ignore-in-shared-libs" C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -l-lqtmain collect2.exe: error: ld returned 1 exit status Process failed with exit code 1. The following products could not be built for configuration qtc_Desktop_4_8_6_mingw-release: HelloWorld-Qt Error while building/deploying project hello (kit: Desktop 4.8.6 (mingw)) When executing step "" 15:56:38: Elapsed time: 00:01.
PS: Seems it can't resolve of Qt run-time libraries correctly, similar previous issue with MSVC: QBS-689
For Gerrit Dashboard: QBS-703 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
99831,4 | QtSupport: Fix mkspec detection for Qt4/MinGW. | 3.3 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |