Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
5.8.0 RC
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