From: Jonathan Liu <net147@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] classes/qmake2: export QMAKEPATH
Date: Thu, 6 Jun 2013 16:54:44 +1000 [thread overview]
Message-ID: <1370501684-26590-1-git-send-email-net147@gmail.com> (raw)
QMAKEPATH is exported so that qmake is able to detect the webkit module,
load it and add it to the QT_CONFIG variable. The detection is done in
mkspecs/features/qt_config.prf which reads the qmake QMAKE_MKSPECS
builtin. qmake will read QMAKEPATH, append /mkspecs to it and prepend it
to the QMAKE_MKSPECS list builtin returned. qt_config.prf will then load
modules matching modules/qt_*.pri inside each directory in QMAKE_MKSPECS.
Signed-off-by: Jonathan Liu <net147@gmail.com>
---
meta/classes/qmake2.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/qmake2.bbclass b/meta/classes/qmake2.bbclass
index 8b9861c..03ad2f1 100644
--- a/meta/classes/qmake2.bbclass
+++ b/meta/classes/qmake2.bbclass
@@ -5,6 +5,7 @@ inherit qmake_base
DEPENDS_prepend = "qt4-tools-native "
+export QMAKEPATH = "${STAGING_DATADIR}/qt4"
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"
--
1.8.2.3
next reply other threads:[~2013-06-06 6:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-06 6:54 Jonathan Liu [this message]
2013-06-06 7:34 ` [PATCH] classes/qmake2: export QMAKEPATH Jonathan Liu
2013-06-07 2:05 ` Jonathan Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1370501684-26590-1-git-send-email-net147@gmail.com \
--to=net147@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox