summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe F. Tonello <eu@felipetonello.com>2013-06-12 11:21:04 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-13 17:37:58 +0100
commitdcaa40e65d986587fa7c44f4285bbd0883478cc3 (patch)
tree4fa2473ab02c338374287a148eb5ebdfdeadc31a
parent470a67d9047ccabe3b624238f31c0381793404be (diff)
downloadopenembedded-core-dcaa40e65d986587fa7c44f4285bbd0883478cc3.tar.gz
openembedded-core-dcaa40e65d986587fa7c44f4285bbd0883478cc3.tar.bz2
openembedded-core-dcaa40e65d986587fa7c44f4285bbd0883478cc3.zip
qt: update qmake2 class to export qconfig.pri mkspec
This is necessary when Qt applications want to know variables such as QT_MAJOR_VERSION, QT_VERSION, QT_MINOR_VERSION, GCC version, etc. Signed-off-by: Felipe F. Tonello <eu@felipetonello.com> Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/classes/qmake2.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/qmake2.bbclass b/meta/classes/qmake2.bbclass
index 35aaebb123..6e73ad2d1e 100644
--- a/meta/classes/qmake2.bbclass
+++ b/meta/classes/qmake2.bbclass
@@ -6,6 +6,7 @@ inherit qmake_base
DEPENDS_prepend = "qt4-tools-native "
export QMAKESPEC = "${STAGING_DATADIR}/qt4/mkspecs/${TARGET_OS}-oe-g++"
+export OE_QMAKE_QT_CONFIG = "${STAGING_DATADIR}/qt4/mkspecs/qconfig.pri"
export OE_QMAKE_UIC = "${STAGING_BINDIR_NATIVE}/uic4"
export OE_QMAKE_UIC3 = "${STAGING_BINDIR_NATIVE}/uic34"
export OE_QMAKE_MOC = "${STAGING_BINDIR_NATIVE}/moc4"