summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch27
1 files changed, 26 insertions, 1 deletions
diff --git a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch
index 8f7afb6d..f4dfe0b7 100644
--- a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch
+++ b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch
@@ -22,10 +22,11 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
22--- 22---
23 configure | 2 +- 23 configure | 2 +-
24 mkspecs/features/configure.prf | 4 +-- 24 mkspecs/features/configure.prf | 4 +--
25 mkspecs/features/qt.prf | 6 ++--
25 mkspecs/features/qt_functions.prf | 2 +- 26 mkspecs/features/qt_functions.prf | 2 +-
26 mkspecs/linux-oe-g++/qmake.conf | 42 ++++++++++++++++++++++++++++ 27 mkspecs/linux-oe-g++/qmake.conf | 42 ++++++++++++++++++++++++++++
27 mkspecs/linux-oe-g++/qplatformdefs.h | 1 + 28 mkspecs/linux-oe-g++/qplatformdefs.h | 1 +
28 5 files changed, 47 insertions(+), 4 deletions(-) 29 6 files changed, 50 insertions(+), 7 deletions(-)
29 create mode 100644 mkspecs/linux-oe-g++/qmake.conf 30 create mode 100644 mkspecs/linux-oe-g++/qmake.conf
30 create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h 31 create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h
31 32
@@ -63,6 +64,30 @@ index 934a18a924..0f5b1b6333 100644
63 log("yes$$escape_expand(\\n)") 64 log("yes$$escape_expand(\\n)")
64 msg = "test $$1 succeeded" 65 msg = "test $$1 succeeded"
65 write_file($$QMAKE_CONFIG_LOG, msg, append) 66 write_file($$QMAKE_CONFIG_LOG, msg, append)
67diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf
68index b57afcf72d..afa1c39b3e 100644
69--- a/mkspecs/features/qt.prf
70+++ b/mkspecs/features/qt.prf
71@@ -147,7 +147,7 @@ import_plugins:qtConfig(static) {
72 !isEmpty(plug_type) {
73 plug_path = $$eval(QT_PLUGIN.$${plug}.PATH)
74 isEmpty(plug_path): \
75- plug_path = $$[QT_INSTALL_PLUGINS/get]
76+ plug_path = $$[QT_INSTALL_PLUGINS]
77 LIBS += -L$$plug_path/$$plug_type
78 }
79 LIBS += -l$${plug}$$qtPlatformTargetSuffix()
80@@ -298,8 +298,8 @@ for(ever) {
81 # static builds: link qml import plugins into the target.
82 contains(all_qt_module_deps, qml): \
83 qtConfig(static):import_plugins:!host_build:!no_import_scan {
84- exists($$[QT_INSTALL_QML/get]): \
85- QMLPATHS *= $$[QT_INSTALL_QML/get]
86+ exists($$[QT_INSTALL_QML]): \
87+ QMLPATHS *= $$[QT_INSTALL_QML]
88
89 # run qmlimportscanner
90 qtPrepareTool(QMLIMPORTSCANNER, qmlimportscanner, , system)
66diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf 91diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf
67index 1903e509c8..c093dd4592 100644 92index 1903e509c8..c093dd4592 100644
68--- a/mkspecs/features/qt_functions.prf 93--- a/mkspecs/features/qt_functions.prf