* 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 <[email protected]>
---
 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"
-- 
1.6.3.3


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to