Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] qmake2.bbclass: export OE_QMAKE_QT_CONFIG
@ 2013-06-05  9:01 Jonathan Liu
  2013-06-05  9:30 ` Martin Jansa
  0 siblings, 1 reply; 19+ messages in thread
From: Jonathan Liu @ 2013-06-05  9:01 UTC (permalink / raw)
  To: openembedded-core

qconfig.pri was not being loaded by qmake properly. This means Qt
qmake projects are unable to query QT_ARCH, QT_VERSION and other
variables defined in qconfig.pri.

Export OE_QMAKE_QT_CONFIG, setting it to the location of qconfig.pri
so that it can be located by qmake.

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 5eebd8e..ca6b0f0 100644
--- a/meta/classes/qmake2.bbclass
+++ b/meta/classes/qmake2.bbclass
@@ -22,3 +22,4 @@ export OE_QMAKE_LIBS_X11 = "-lXext -lX11 -lm"
 export OE_QMAKE_LIBS_X11SM = "-lSM -lICE"
 export OE_QMAKE_LRELEASE = "${STAGING_BINDIR_NATIVE}/lrelease4"
 export OE_QMAKE_LUPDATE = "${STAGING_BINDIR_NATIVE}/lupdate4"
+export OE_QMAKE_QT_CONFIG = "${STAGING_DATADIR}/qt4/mkspecs/qconfig.pri"
-- 
1.8.2.3



^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2013-06-14 18:15 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-05  9:01 [PATCH] qmake2.bbclass: export OE_QMAKE_QT_CONFIG Jonathan Liu
2013-06-05  9:30 ` Martin Jansa
2013-06-05 16:46   ` Saul Wold
2013-06-05 16:57     ` Paul Eggleton
2013-06-05 17:01       ` Saul Wold
2013-06-06  9:54         ` Paul Eggleton
2013-06-06 19:18           ` Felipe Tonello
2013-06-06 20:06             ` Saul Wold
2013-06-06 23:17               ` Jonathan Liu
2013-06-06 23:31                 ` Martin Jansa
2013-06-10  5:09                   ` Jonathan Liu
2013-06-05 17:04       ` Paul Eggleton
2013-06-06  3:11         ` Jonathan Liu
2013-06-06 12:23           ` Otavio Salvador
2013-06-11 23:46         ` Jonathan Liu
2013-06-13 15:20           ` Saul Wold
2013-06-13 23:35             ` Jonathan Liu
2013-06-13 23:51               ` Saul Wold
2013-06-14 18:15                 ` Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox