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

[macOS] 5.8.0-RC fails to build with -system-zlib -system-libpng

    XMLWordPrintable

Details

    • macOS

    Description

      5.8.0-RC fails to build with -system-zlib -system-libpng

      cd gui/ && ( test -e Makefile || /Users/tim/dev/qt3rd/build-Qt-5.x-dev-macx-clang-static/qtbase/bin/qmake -o Makefile /Users/tim/dev/qt3rd/qtbase/src/gui/gui.pro -qtconf /Users/tim/dev/qt3rd/build-Qt-5.x-dev-macx-clang-static/qtbase/bin/qt.conf -- -qt-zlib -qt-harfbuzz -no-glib -confirm-license -nomake tests -nomake examples -skip qtwebchannel -skip qtscript -system-libpng -I/Users/tim/dev/qt3rd/3rdparty-builds/libpng/ -L/Users/tim/dev/qt3rd/3rdparty-builds/libpng/lib/osx -system-libjpeg -I/Users/tim/dev/qt3rd/3rdparty-builds/libjpeg/ -L/Users/tim/dev/qt3rd/3rdparty-builds/libjpeg/lib/osx -system-zlib -I/Users/tim/dev/qt3rd/3rdparty-builds/zlib/ -L/Users/tim/dev/qt3rd/3rdparty-builds/zlib/lib/osx -commercial -debug-and-release -static -prefix /Users/tim/dev/qt3rd/Qt-5.x-dev-macx-clang-static -platform macx-clang ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile
      Project ERROR: Library 'libpng' is not defined.
      make: *** [sub-gui-make_first] Error 3
      

      seems the be related to -system-zlib when -system-libpng is used.

      steps to reproduce on osx:

      • install libpng via homebrew
      • configure qt via: ../configure -system-zlib -system-libpng -platform macx-clang

      Attachments

        1. qtgui-config.pri
          1 kB
        2. config.log
          114 kB
        3. config.log
          126 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            timblechmann tim blechmann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes