Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
4.8.0
Description
Configuring 4.8.0-RC fails with the following options:
configure -debug -no-ltcg -commercial -static -platform win32-g++ -xplatform win32-g++ -no-iwmmxt -no-crt -fast -opengl desktop -no-openvg -no-exceptions -no-accessibility -no-qt3support -no-rtti -no-stl -no-dsp -no-vcproj -no-incredibuild-xge -qmake -process -no-xmlpatterns -no-multimedia -no-audio-backend -no-phonon -no-phonon-backend -no-webkit -no-script -no-scripttools -no-declarative -no-declarative-debug -no-3dnow -no-sse -no-sse2 -qt-style-windowsxp -qt-style-windowsvista -no-libtiff -qt-libpng -qt-libmng -qt-libjpeg -nomake tools -nomake examples -nomake demos
It will give the following error:
mingw32/bin/ld.exe: cannot find -lQtGuid
collect2: ld returned 1 exit status
mingw32-make[2]: *** [..\..\..\bin\idc.exe] Error 1
mingw32-make[2]: Leaving directory `D:/qt4.8.0_rc/src/tools/idc'
mingw32-make[1]: *** [debug] Error 2
idc should not be included for MinGW.
This patch will fix the issue:
— a/src/tools/tools.pro
+++ b/src/tools/tools.pro
@@ -4,7 +4,7 @@ TOOLS_SUBDIRS = src_tools_bootstrap src_tools_moc src_tools_rcc
!contains(QT_CONFIG, no-gui): TOOLS_SUBDIRS += src_tools_uic
!cross_compile
- Set subdir and respective target name
Attachments
Issue Links
- relates to
-
QTBUG-31517 Windows: Qt 4.8.5 (Build Debug Libraries) stops because of wrong qmake dependencies
- Closed
- resulted in
-
QTBUG-35275 "idc.exe foo_release.dll /idl foo_release.idl" crashes if qt.conf present with paths/prefix
- Closed