Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
4.7.0, 4.7.1, 4.8.0, 4.8.x, 5.0.0, Some future release
-
None
-
Windows using cmd and mingw-w64
Description
When building Qt 4.7 (git) statically (-release -static) with mingw(.org/-w32/-w64), a linker error occurs (with all three toolchains) when building uic3:
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -Wl,-subsystem,console -mthreads -Wl -o ..\..\..\bin\uic3.exe object_script.uic3.Release -L"m:\Development\x86\Qt\lib" -L"m:\Development\x86\Qt\lib" -lQt3Support -lQtSql -lQtXml -lQtGui -lQtNetwork -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lmsimg32 -lQtCore -lkernel32 -luser32 -lshell32 -luuid -lole32 -ladvapi32 -lws2_32 m:\Development\x86\Qt\lib/libQtGui.a(qapplication.o):qapplication.cpp:(.text+0xac0b): undefined reference to `_imp___Z21qt_call_post_routinesv' m:\Development\x86\Qt\lib/libQtGui.a(qapplication.o):qapplication.cpp:(.text+0xb4a7): undefined reference to `_imp___Z21qt_call_post_routinesv' m:\Development\x86\Qt\lib/libQtGui.a(qapplication.o):qapplication.cpp:(.text+0xbd3a): undefined reference to `_imp___Z21qt_call_post_routinesv' m:\Development\x86\Qt\lib/libQtGui.a(qwhatsthis.o):qwhatsthis.cpp:(.text+0x15c): undefined reference to _imp___Z21qDeleteInEventHandlerP7QObject' collect2: ld returned 1 exit status
When configured with "-no-qt3support", the build completes fine.