[Development] [Announce] Qt 5.8.0 RC released
Tim Blechmann
tim at klingt.org
Thu Dec 22 23:01:49 CET 2016
> We have released Qt 5.8.0 RC today, see http://blog.qt.io/blog/2016/12/22/qt-5-8-0-release-candidate-available/
> Thanks to everyone involved.
hi all,
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.
i had been able to work around this issue via:
> diff --git a/qtbase/src/gui/configure.json b/qtbase/src/gui/configure.json
> index 1f5011617c..54ea749dfd 100644
> --- a/qtbase/src/gui/configure.json
> +++ b/qtbase/src/gui/configure.json
> @@ -672,7 +672,6 @@
> "label": " Using system libpng",
> "disable": "input.libpng == 'qt'",
> "enable": "input.libpng == 'system'",
> - "condition": "features.png && libs.libpng",
> "output": [ "privateFeature" ]
> },
> "qpa_default_platform": {
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-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
any idea how i can get qt-5.8 to compile again?
thanks a lot,
tim
More information about the Development
mailing list