diff options
| author | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-11-06 15:20:09 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-12-15 16:46:13 +0100 |
| commit | aac80246dab483993bff4718c1fbcddd4a7ab199 (patch) | |
| tree | ed2a46c73a63343f7095b98991e2e4d1d8c1effe | |
| parent | d5536e34ec985c82b621448ab4325e5cbba38560 (diff) | |
| download | meta-qt5-aac80246dab483993bff4718c1fbcddd4a7ab199.tar.gz | |
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>
| -rw-r--r-- | recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch | 10 |
1 files changed, 6 insertions, 4 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 a9c448dc..0826ba1b 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 | |||
| @@ -45,9 +45,9 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
| 45 | --- | 45 | --- |
| 46 | configure | 70 +++++++++++++++--------- | 46 | configure | 70 +++++++++++++++--------- |
| 47 | mkspecs/features/configure.prf | 4 +- | 47 | mkspecs/features/configure.prf | 4 +- |
| 48 | mkspecs/linux-oe-g++/qmake.conf | 42 +++++++++++++++ | 48 | mkspecs/linux-oe-g++/qmake.conf | 44 +++++++++++++++ |
| 49 | mkspecs/linux-oe-g++/qplatformdefs.h | 100 +++++++++++++++++++++++++++++++++++ | 49 | mkspecs/linux-oe-g++/qplatformdefs.h | 100 +++++++++++++++++++++++++++++++++++ |
| 50 | 4 files changed, 188 insertions(+), 28 deletions(-) | 50 | 4 files changed, 190 insertions(+), 28 deletions(-) |
| 51 | create mode 100644 mkspecs/linux-oe-g++/qmake.conf | 51 | create mode 100644 mkspecs/linux-oe-g++/qmake.conf |
| 52 | create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h | 52 | create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h |
| 53 | 53 | ||
| @@ -200,7 +200,7 @@ new file mode 100644 | |||
| 200 | index 0000000..d0a4166 | 200 | index 0000000..d0a4166 |
| 201 | --- /dev/null | 201 | --- /dev/null |
| 202 | +++ b/mkspecs/linux-oe-g++/qmake.conf | 202 | +++ b/mkspecs/linux-oe-g++/qmake.conf |
| 203 | @@ -0,0 +1,42 @@ | 203 | @@ -0,0 +1,44 @@ |
| 204 | +# | 204 | +# |
| 205 | +# qmake configuration for linux-g++ with modifications for building with OpenEmbedded | 205 | +# qmake configuration for linux-g++ with modifications for building with OpenEmbedded |
| 206 | +# | 206 | +# |
| @@ -240,7 +240,9 @@ index 0000000..d0a4166 | |||
| 240 | +# for the SDK | 240 | +# for the SDK |
| 241 | +isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $(OE_QMAKE_QT_CONFIG) | 241 | +isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $(OE_QMAKE_QT_CONFIG) |
| 242 | + | 242 | + |
| 243 | +exists(../oe-device-extra.pri):include(../oe-device-extra.pri) | 243 | +exists(../oe-device-extra.pri) { |
| 244 | + include(../oe-device-extra.pri) | ||
| 245 | +} | ||
| 244 | + | 246 | + |
| 245 | +load(qt_config) | 247 | +load(qt_config) |
| 246 | diff --git a/mkspecs/linux-oe-g++/qplatformdefs.h b/mkspecs/linux-oe-g++/qplatformdefs.h | 248 | diff --git a/mkspecs/linux-oe-g++/qplatformdefs.h b/mkspecs/linux-oe-g++/qplatformdefs.h |
