[oe-commits] Eric Bénard : qt4-tools-sdk: bring compatibility with QTCreator

git version control git at git.openembedded.org
Thu Sep 23 08:25:28 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 3b175b3421122c55d3acb1922d80b2caf15c9ccb
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=3b175b3421122c55d3acb1922d80b2caf15c9ccb

Author: Eric Bénard <eric at eukrea.com>
Date:   Tue Sep 21 15:53:52 2010 +0200

qt4-tools-sdk: bring compatibility with QTCreator

* this links "puts" mkspecs at the place where QTCreator search
for it in order to detect a toolchain
* thanks to this link QTCreator detects the toolchain generated using
meta-toolchain-qte and can cross compile applications without any
hack

Signed-off-by: Eric Bénard <eric at eukrea.com>

---

 recipes/qt4/qt4-tools-sdk_4.6.3.bb |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/recipes/qt4/qt4-tools-sdk_4.6.3.bb b/recipes/qt4/qt4-tools-sdk_4.6.3.bb
index 1695c19..5f9ef6b 100644
--- a/recipes/qt4/qt4-tools-sdk_4.6.3.bb
+++ b/recipes/qt4/qt4-tools-sdk_4.6.3.bb
@@ -76,6 +76,10 @@ do_install() {
 	for i in moc uic uic3 rcc lrelease lupdate qdbuscpp2xml qdbusxml2cpp; do \
 		ln -s ${i}4 ${i}; \
 	done)
+
+	# make a symbolic link to mkspecs for compatibility with Nokia's SDK
+	# and QTCreator
+	(cd ${D}${bindir}/..; ln -s ${TARGET_SYS}/usr/share/qtopia/mkspecs mkspecs;)
 }
 
 SRC_URI[md5sum] = "5c69f16d452b0bb3d44bc3c10556c072"





More information about the Openembedded-commits mailing list