[Development] [Announce] Qt 5.8.0 RC released

Tim Blechmann tim at klingt.org
Fri Dec 23 01:26:38 CET 2016

>> like with 5.8-beta, i'm still having issues when linking statically
>> against a prebuilt static library of libpng (because libpng depends on
>> zlib). compare: https://bugreports.qt.io/browse/QTBUG-56163
>> in short, it gives me:
>>> ERROR: Feature 'system-png' was enabled, but the pre-condition
>>> 'features.png && libs.libpng' failed.
> What is the actual error, listed in config.log?

it is attached to the bug report. (undefined symbols in from zlib)

> in 5.8.0-RC, this broke in another way, though:
>> 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-cl
>  ang-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
> any idea how i can get qt-5.8 to compile again?

this actually seems to be unrelated to my custom static libraries.
running a plain ./configure seems to detect (dynamically linked) libpng
installed by homebrew. the error is the same, though ... -qt-libpng
compiles (though it is not an option for me atm)

More information about the Development mailing list