Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.6.3
-
None
-
None
-
Windows XP, MinGW from ftp://ftp.qt.nokia.com/misc/MinGW-gcc440_1.zip.
Qt has been configured as follows:
configure -static -release -opensource -no-qt3support -qt-zlib -qt-gif -qt-libpng -qt-libmng -qt-libjpeg -qt-libtiff -no-exceptions -nomake demos -nomake examples -nomake tools -no-webkit -no-phonon -no-phonon-backend -no-xmlpatterns -no-dbus -no-opengl -no-scripttools -no-openssl -no-incredibuild-xge -no-declarative -no-multimedia
Windows XP, MinGW from ftp://ftp.qt.nokia.com/misc/MinGW-gcc440_1.zip . Qt has been configured as follows: configure -static -release -opensource -no-qt3support -qt-zlib -qt-gif -qt-libpng -qt-libmng -qt-libjpeg -qt-libtiff -no-exceptions -nomake demos -nomake examples -nomake tools -no-webkit -no-phonon -no-phonon-backend -no-xmlpatterns -no-dbus -no-opengl -no-scripttools -no-openssl -no-incredibuild-xge -no-declarative -no-multimedia
-
e311bd0b23cf8696f284b8da3dcc5a591c7b689e
Description
Compiling and installing Qt libraries went ok. But when I try to compile a program I get the following linker error:
g++ -static -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-ps
eudo-reloc -Wl,-s -Wl,-subsystem,windows -o release\edfbrowser.exe object_script
.edfbrowser.Release -L"c:\Qt\4.6.3\lib" -lmingw32 -lqtmain .\objects\edfbrowser
_res.o -lQtGui -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lmsimg3
2 -lQtCore -lkernel32 -luser32 -lshell32 -luuid -lole32 -ladvapi32 -lws2_32
c:\Qt\4.6.3\lib\libQtGui.a(qapplication.o):qapplication.cpp.text+0x34de): unde
fined reference to `imp__Z21qt_call_post_routinesv'
c:\Qt\4.6.3\lib\libQtGui.a(qapplication.o):qapplication.cpp.text+0x3a83): unde
fined reference to `imp__Z21qt_call_post_routinesv'
c:\Qt\4.6.3\lib\libQtGui.a(qapplication.o):qapplication.cpp.text+0x401e): unde
fined reference to `imp__Z21qt_call_post_routinesv'
c:\Qt\4.6.3\lib\libQtGui.a(qwhatsthis.o):qwhatsthis.cpp.text+0xfc): undefined
reference to `imp__Z21qDeleteInEventHandlerP7QObject'
collect2: ld gaf exit-status 1 terug
mingw32-make[1]: *** [release\edfbrowser.exe] Error 1
mingw32-make[1]: Leaving directory `C:/Documents and Settings/Ben-Gurion/My Docu
ments/c/edfbrowser_123_source'
mingw32-make: *** [release] Error 2
Attachments
Issue Links
- replaces
-
QTBUG-13728 Static build of Qt-4.6.3 on Windows 7, with MinGW-4.4.0 (open-source build) fails when linking assistant.exe.
- Closed
-
QTBUG-11501 Compiling Qt Statically fails - MinGW / Windows 7 64b
- Closed