mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-09-17 04:31:54 +02:00
qtbase: support oe-device-extra.pri in configure
configure parses through the mkspec, but does not handle conditions at all, so oe-device-extra.pri was not included at configure phase. For example QT_QPA_DEFAULT_PLATFORM had no effect for configure. With include() on a separate line, oe-device-extra.pri is correctly included also in configure. Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
d5536e34ec
commit
aac80246da
@@ -45,9 +45,9 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
---
|
||||
configure | 70 +++++++++++++++---------
|
||||
mkspecs/features/configure.prf | 4 +-
|
||||
mkspecs/linux-oe-g++/qmake.conf | 42 +++++++++++++++
|
||||
mkspecs/linux-oe-g++/qmake.conf | 44 +++++++++++++++
|
||||
mkspecs/linux-oe-g++/qplatformdefs.h | 100 +++++++++++++++++++++++++++++++++++
|
||||
4 files changed, 188 insertions(+), 28 deletions(-)
|
||||
4 files changed, 190 insertions(+), 28 deletions(-)
|
||||
create mode 100644 mkspecs/linux-oe-g++/qmake.conf
|
||||
create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h
|
||||
|
||||
@@ -200,7 +200,7 @@ new file mode 100644
|
||||
index 0000000..d0a4166
|
||||
--- /dev/null
|
||||
+++ b/mkspecs/linux-oe-g++/qmake.conf
|
||||
@@ -0,0 +1,42 @@
|
||||
@@ -0,0 +1,44 @@
|
||||
+#
|
||||
+# qmake configuration for linux-g++ with modifications for building with OpenEmbedded
|
||||
+#
|
||||
@@ -240,7 +240,9 @@ index 0000000..d0a4166
|
||||
+# for the SDK
|
||||
+isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $(OE_QMAKE_QT_CONFIG)
|
||||
+
|
||||
+exists(../oe-device-extra.pri):include(../oe-device-extra.pri)
|
||||
+exists(../oe-device-extra.pri) {
|
||||
+ include(../oe-device-extra.pri)
|
||||
+}
|
||||
+
|
||||
+load(qt_config)
|
||||
diff --git a/mkspecs/linux-oe-g++/qplatformdefs.h b/mkspecs/linux-oe-g++/qplatformdefs.h
|
||||
|
||||
Reference in New Issue
Block a user