Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-22260

Configure with win32-g++ fails with idc

    XMLWordPrintable

Details

    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

      { contains(QT_CONFIG, qt3support): SRC_SUBDIRS += src_tools_uic3 - win32:!wince*: SRC_SUBDIRS += src_tools_idc + win32:!wince*:!win32-g++ SRC_SUBDIRS += src_tools_idc }
      1. Set subdir and respective target name

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-22260
          # Subject Branch Project Status CR V

          Activity

            People

              maheikki Markku Tapio Heikkilä (Inactive)
              qtcomsupport Qt Support
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes