Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
5.2.1
-
None
-
Windows 7 64-bit, mingw-w64 GCC-4.8.2
-
03ae6ad8e9aa73d77ce3caa89d9cebc2179e199a
Description
Building Qt-5.2.1 with mingw-w64 toolchains (both 32 and 64 bit) I get error linking Qt5Test library:
g++ -shared -mthreads -Wl,--out-implib,C:/build/src/qt-everywhere-opensource-src-5.2.1/qtbase/lib/libQt5Testd.a -o ../../lib/Qt5Testd.dll object_script.Qt5Testd.Debug -LC:/msys64/mingw64/x86_64-w64-mingw32/lib -LC:/msys64/mingw64/lib -LC:/build/src/qt-everywhere-opensource-src-5.2.1/qtbase/lib -lQt5Cored .obj/debug/Qt5Testd_resource_res.o ./.obj/debug/qplaintestlogger.o: In function `QPlainTestLogger::outputMessage(char const*)': C:\build\src\qt-everywhere-opensource-src-5.2.1\qtbase\src\testlib/qplaintestlogger.cpp:217: undefined reference to `__imp__Z15qWinLogToStderrv' collect2.exe: error: ld returned 1 exit status Makefile.Debug:116: recipe for target '../../lib/Qt5Testd.dll' failed mingw32-make[4]: *** [../../lib/Qt5Testd.dll] Error 1 mingw32-make[4]: Leaving directory 'C:/build/src/qt-everywhere-opensource-src-5.2.1/qtbase/src/testlib'
Attachments
Issue Links
- duplicates
-
QTBUG-6351 wrong order of includes & libraries from configure -I & -L
- Closed