commit: 17850705303f7a6f3a1498f71daa02f4a1cbccac
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 27 03:46:55 2017 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Aug 27 03:49:08 2017 +0000
URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=17850705
qt5-build.eclass: create a forwarding header for qtbase
Since 5.8, the build system no longer creates a forwarding header causing the
system config to be used instead of what was passed to configure.
Gentoo-bug: 599636
eclass/qt5-build.eclass | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index b6c211bc..4c311493 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -680,6 +680,12 @@ qt5_base_configure() {
"${S}"/configure "${conf[@]}" || die "configure failed"
popd >/dev/null || die
+
+ if [[ ${QT5_MINOR_VERSION} -ge 8 ]]; then
+ # a forwarding header is no longer created since 5.8, causing
the system
+ # config to always be used. bug 599636
+ cp src/corelib/global/qconfig.h include/QtCore/ || die
+ fi
}
# @FUNCTION: qt5_qmake