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

"CONFIG += silent" does not work with mingw

XMLWordPrintable

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

      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

        1. diff.diff
          23 kB
          Eugene Seppel
        2. unifiedDiff.diff
          30 kB
          Eric Lemanissier
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:

                There are no open Gerrit changes