qt4-tools-sdk: bring compatibility with QTCreator
authorEric Bénard <eric@eukrea.com>
Tue, 21 Sep 2010 13:53:52 +0000 (15:53 +0200)
committerEric Bénard <eric@eukrea.com>
Thu, 23 Sep 2010 08:23:33 +0000 (10:23 +0200)
* 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@eukrea.com>
recipes/qt4/qt4-tools-sdk_4.6.3.bb

index 1695c19..5f9ef6b 100644 (file)
@@ -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"