summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@theqtcompany.com>2015-09-02 12:28:56 +0300
committerMartin Jansa <Martin.Jansa@gmail.com>2015-09-21 11:56:52 +0200
commitd44e7ee1f45e1701868adf49da9ccf7b02803952 (patch)
treec577c174ef69edd8cec0f35d6a43a25c30c59fd2 /classes
parent9c1ac990f274e035f582d11df43068e2fc604f12 (diff)
downloadmeta-qt5-d44e7ee1f45e1701868adf49da9ccf7b02803952.tar.gz
qt5: add host paths to qt.conf
Add missing HostData and HostLibraries paths to qt.conf for qmake. Using the target sysroot for the HostData, allows us to remove the symbolic link for the mkspecs. Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/populate_sdk_qt5_base.bbclass6
1 files changed, 2 insertions, 4 deletions
diff --git a/classes/populate_sdk_qt5_base.bbclass b/classes/populate_sdk_qt5_base.bbclass
index 4a1eed3c..b6ce5967 100644
--- a/classes/populate_sdk_qt5_base.bbclass
+++ b/classes/populate_sdk_qt5_base.bbclass
@@ -2,10 +2,6 @@
2inherit qmake5_paths 2inherit qmake5_paths
3 3
4create_sdk_files_prepend () { 4create_sdk_files_prepend () {
5 # make a symbolic link to mkspecs for compatibility with QTCreator
6 (cd ${SDK_OUTPUT}/${SDKPATHNATIVE}; \
7 ln -sf ${SDKTARGETSYSROOT}${libdir}/${QT_DIR_NAME}/mkspecs mkspecs;)
8
9 # Generate a qt.conf file to be deployed with the SDK 5 # Generate a qt.conf file to be deployed with the SDK
10 qtconf=${SDK_OUTPUT}/${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}/qt.conf 6 qtconf=${SDK_OUTPUT}/${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}/qt.conf
11 touch $qtconf 7 touch $qtconf
@@ -26,6 +22,8 @@ create_sdk_files_prepend () {
26 echo 'Examples = ${OE_QMAKE_PATH_QT_EXAMPLES}' >> $qtconf 22 echo 'Examples = ${OE_QMAKE_PATH_QT_EXAMPLES}' >> $qtconf
27 echo 'Tests = ${OE_QMAKE_PATH_QT_TESTS}' >> $qtconf 23 echo 'Tests = ${OE_QMAKE_PATH_QT_TESTS}' >> $qtconf
28 echo 'HostPrefix = ${SDKPATHNATIVE}' >> $qtconf 24 echo 'HostPrefix = ${SDKPATHNATIVE}' >> $qtconf
25 echo 'HostData = ${SDKTARGETSYSROOT}${OE_QMAKE_PATH_QT_ARCHDATA}' >> $qtconf
29 echo 'HostBinaries = ${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}' >> $qtconf 26 echo 'HostBinaries = ${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}' >> $qtconf
27 echo 'HostLibraries = ${SDKPATHNATIVE}${OE_QMAKE_PATH_LIBS}' >> $qtconf
30 echo 'Sysroot = ${SDKTARGETSYSROOT}' >> $qtconf 28 echo 'Sysroot = ${SDKTARGETSYSROOT}' >> $qtconf
31} 29}