From 3cf0bbb8e1113376d5b5b26ecff362e180a180fd Mon Sep 17 00:00:00 2001 From: Jeroen Hofstee Date: Tue, 21 Nov 2017 10:51:24 +0100 Subject: qtbase_git: install qt.conf for the target The build-in qmake settings point to the sysroots on the host machine. Running qmake on the target hence errors with: Could not find qmake configuration file linux-oe-g++. Error processing project file So add qt.conf to the target image with the correct locations. Signed-off-by: Jeroen Hofstee Signed-off-by: Martin Jansa --- recipes-qt/qt5/qtbase_git.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-qt/qt5/qtbase_git.bb') diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index e5f0ab76..4e8dc4cd 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb @@ -239,6 +239,8 @@ do_install_append() { echo "isEmpty(QMAKE_LINK_C_SHLIB): QMAKE_LINK_C_SHLIB = $OE_QMAKE_LINK_NO_SYSROOT" >> $conf echo "isEmpty(QMAKE_LFLAGS): QMAKE_LFLAGS = ${OE_QMAKE_LDFLAGS}" >> $conf echo "isEmpty(QMAKE_STRIP): QMAKE_STRIP = ${TARGET_PREFIX}strip" >> $conf + + generate_target_qt_config_file ${D}${OE_QMAKE_PATH_BINS}/qt.conf } # mkspecs have mac specific scripts that depend on perl and bash -- cgit v1.2.3