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

"CONFIG += silent" does not work with mingw

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.1.1
    • Build tools: qmake
    • None
    • Qt 5.1.1 (32 bit) on Windows 7 (x64)

    Description

      Adding CONFIG += silent to .pro-file causes linking failure.

      This issue could be reproduced only on Windows Qt 5.1.1 and CONFIG += silent. On GNU/Linux this issue doesn't appear.

      To reproduce this bug one should create simple Qt GUI (widgets) application from QtCreator template and add CONFIG+=silent to project file:

      linking release/Untitled.exe
      c:/qt/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lqtmain
      c:/qt/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lQt5Widgets
      c:/qt/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lQt5Gui
      c:/qt/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lQt5Core

      Attachments

        1. diff.diff
          23 kB
        2. unifiedDiff.diff
          30 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtbuildsystem Qt Build System Team
              eugene.seppel Eugene Seppel
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes