aboutsummaryrefslogtreecommitdiff
path: root/recipes/meta/meta-toolchain-qt.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/meta/meta-toolchain-qt.inc')
-rw-r--r--recipes/meta/meta-toolchain-qt.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes/meta/meta-toolchain-qt.inc b/recipes/meta/meta-toolchain-qt.inc
index ce80c57..42cb600 100644
--- a/recipes/meta/meta-toolchain-qt.inc
+++ b/recipes/meta/meta-toolchain-qt.inc
@@ -1,5 +1,5 @@
# Common Qt toolchain
-INC_PR = "r4"
+INC_PR = "r5"
do_populate_sdk_append() {
script="${SDK_OUTPUT}/${SDKPATH}/environment-setup"
@@ -18,6 +18,11 @@ do_populate_sdk_append() {
echo 'export OE_QMAKE_QT_CONFIG=${SDKPATH}/${TARGET_SYS}/${datadir}/${QT_DIR_NAME}/mkspecs/qconfig.pri' >> $script
echo 'export QMAKESPEC=${SDKPATH}/${TARGET_SYS}/${datadir}/${QT_DIR_NAME}/mkspecs/linux-g++' >> $script
+ # make a symbolic link to mkspecs for compatibility with Nokia's SDK
+ # and QtCreator
+ cd ${SDK_OUTPUT}/${SDKPATH}
+ ln -s ${TARGET_SYS}/usr/share/${QT_DIR_NAME}/mkspecs mkspecs
+
# Repack SDK with new environment-setup
cd ${SDK_OUTPUT}
fakeroot tar cfj ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 .