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

Qt 5.7/MinGW 5.3 Developer build, Build error, QtGui fails to link due to missing -lqtpngd

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.7.1
    • 5.7
    • Build System
    • None
    • Win10, MinGW 5.3
    • 80a4f8b8678e1811bd6b8631d653d3bf54048df9

    Description

      configure -confirm-license -developer-build -opensource -debug -nomake tests -nomake examples -opengl desktop -no-headersclean -skip qt3d -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdocgallery -skip qtenginio -skip qtfeedback -skip qtgamepad -skip qtlocation -skip qtpim -skip qtpurchasing -skip qtquick1 -skip qtquickcontrols2 -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialport -skip qtserialbus -skip qtspeech -skip qtsystems -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebkit -skip qtwebkit-examples -skip qtwebsockets -skip qtwebview
      

      produces

      :/opt/MinGW53/mingw32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lqtpngd
      collect2.exe: error: ld returned 1 exit status
      Makefile.Debug:1137: recipe for target '..\..\lib\Qt5Guid.dll' failed
      mingw32-make[4]: *** [..\..\lib\Qt5Guid.dll] Error 1
      Makefile:34: recipe for target 'debug' failed
      mingw32-make[3]: *** [debug] Error 2
      Makefile:545: recipe for target 'sub-gui-make_first' failed
      mingw32-make[2]: *** [sub-gui-make_first] Error 2
      Makefile:41: recipe for target 'sub-src-make_first' failed
      mingw32-make[1]: *** [sub-src-make_first] Error 2
      Makefile:54: recipe for target 'module-qtbase-make_first' failed
      mingw32-make: *** [module-qtbase-make_first] Error 2
      

      MinGW has a "system zlib", which it detects

      Third Party Libraries:
          ZLIB support............system
          GIF support.............plugin
          JPEG support............plugin
          PNG support.............yes
          DoubleConversion........qt
          FreeType support........yes
          Fontconfig support......no
          HarfBuzz support........qt
          PCRE support............qt
          ICU support.............no
          ANGLE...................no
          Dynamic OpenGL..........no
      

      Using it is probably not intended, somehow this influences the qtpng build.

      Attachments

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

        Activity

          People

            antkudr Anton Kudryavtsev
            kleint Friedemann Kleint
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes