diff options
-rw-r--r-- | recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch | 29 |
1 files changed, 27 insertions, 2 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 f36364e5..976b3001 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 | |||
@@ -1,4 +1,4 @@ | |||
1 | From a0a36aaaeb0509d5964566f501b717d2dd27b205 Mon Sep 17 00:00:00 2001 | 1 | From 542b69b5534214e9d0ddb4ba328325d0bfcccb50 Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Mon, 15 Apr 2013 04:29:32 +0200 | 3 | Date: Mon, 15 Apr 2013 04:29:32 +0200 |
4 | Subject: [PATCH] Add linux-oe-g++ platform | 4 | Subject: [PATCH] Add linux-oe-g++ platform |
@@ -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 | 40 ++++++++++++++++++++++++++++ | 27 | mkspecs/linux-oe-g++/qmake.conf | 40 ++++++++++++++++++++++++++++ |
27 | mkspecs/linux-oe-g++/qplatformdefs.h | 1 + | 28 | mkspecs/linux-oe-g++/qplatformdefs.h | 1 + |
28 | 5 files changed, 45 insertions(+), 4 deletions(-) | 29 | 6 files changed, 48 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 934a18a9249..0f5b1b63334 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) |
67 | diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf | ||
68 | index b57afcf72d7..afa1c39b3e9 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) | ||
66 | diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf | 91 | diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf |
67 | index 1903e509c8e..c093dd4592d 100644 | 92 | index 1903e509c8e..c093dd4592d 100644 |
68 | --- a/mkspecs/features/qt_functions.prf | 93 | --- a/mkspecs/features/qt_functions.prf |