qt5-build.eclass: -qml-debug is removed from qtbase in 5.11
authorMichael Palimaka <kensington@gentoo.org>
Mon, 1 Jan 2018 01:12:40 +0000 (12:12 +1100)
committerMichael Palimaka <kensington@gentoo.org>
Sun, 14 Jan 2018 05:50:33 +0000 (16:50 +1100)
Upstream-commit: 525f8516c2580018f910cfb99ab5e0e36bd55ab1

eclass/qt5-build.eclass

index 3b35c94b6c86159cf2bfd39000e0e81100a29e1f..82855656e040ace47397577c73eee856c64496c2 100644 (file)
@@ -572,7 +572,7 @@ qt5_base_configure() {
                -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds
 
                # ensure the QML debugging support (qmltooling) is built in qtdeclarative
-               -qml-debug
+               $([[ ${QT5_MINOR_VERSION} -lt 11 ]] && echo -qml-debug)
 
                # MIPS DSP instruction set extensions
                $(is-flagq -mno-dsp   && echo -no-mips_dsp)