Skip to contentSkip to conversation

qtbase: avoid qmake errors due to missing oe-device-extra.pri

PATCH New Jonathan Liu 1 participant 1 message Sep 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qtbase: avoid qmake errors due to missing oe-device-extra.pri

An empty oe-extra-extra.pri file is created if it does not exist to suppress qmake errors.

---
 recipes-qt/qt5/qtbase_git.bb | 3 +++
 1 file changed, 3 insertions(+)
recipes-qt/qt5/qtbase_git.bb +3 -0
index 81e808a..e532cdd 100644
@@ -203,6 +203,9 @@ do_configure() {
 }
 
 do_install_append() {
+    # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory"
+    touch ${D}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/oe-device-extra.pri
+
     install -m 0755 ${B}/bin/qmake-target ${D}/${bindir}${QT_DIR_NAME}/qmake
 
     ### Fix up the binaries to the right location
Signature · 1 line
2.9.3