summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--classes/qmake5_base.bbclass2
-rw-r--r--recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch9
2 files changed, 4 insertions, 7 deletions
diff --git a/classes/qmake5_base.bbclass b/classes/qmake5_base.bbclass
index d1e0e579..3bc1279d 100644
--- a/classes/qmake5_base.bbclass
+++ b/classes/qmake5_base.bbclass
@@ -29,7 +29,6 @@ EXTRA_OEMAKE = " \
29 OE_QMAKE_LDFLAGS='${OE_QMAKE_LDFLAGS}' \ 29 OE_QMAKE_LDFLAGS='${OE_QMAKE_LDFLAGS}' \
30 OE_QMAKE_AR='${OE_QMAKE_AR}' \ 30 OE_QMAKE_AR='${OE_QMAKE_AR}' \
31 OE_QMAKE_STRIP='${OE_QMAKE_STRIP}' \ 31 OE_QMAKE_STRIP='${OE_QMAKE_STRIP}' \
32 OE_QMAKE_WAYLAND_SCANNER='${OE_QMAKE_WAYLAND_SCANNER}' \
33 OE_QMAKE_INCDIR_QT='${STAGING_DIR_TARGET}/${OE_QMAKE_PATH_HEADERS}' \ 32 OE_QMAKE_INCDIR_QT='${STAGING_DIR_TARGET}/${OE_QMAKE_PATH_HEADERS}' \
34" 33"
35 34
@@ -43,7 +42,6 @@ export OE_QMAKE_LINK = "${CXX}"
43export OE_QMAKE_LDFLAGS = "${LDFLAGS}" 42export OE_QMAKE_LDFLAGS = "${LDFLAGS}"
44export OE_QMAKE_AR = "${AR}" 43export OE_QMAKE_AR = "${AR}"
45export OE_QMAKE_STRIP = "echo" 44export OE_QMAKE_STRIP = "echo"
46export OE_QMAKE_WAYLAND_SCANNER = "${STAGING_BINDIR_NATIVE}/wayland-scanner"
47 45
48# qmake reads if from shell environment 46# qmake reads if from shell environment
49export OE_QMAKE_QTCONF_PATH = "${WORKDIR}/qt.conf" 47export OE_QMAKE_QTCONF_PATH = "${WORKDIR}/qt.conf"
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 a8fe4338..4d555bec 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
@@ -23,9 +23,9 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
23 configure | 2 +- 23 configure | 2 +-
24 mkspecs/features/configure.prf | 4 ++-- 24 mkspecs/features/configure.prf | 4 ++--
25 mkspecs/features/qt_functions.prf | 2 +- 25 mkspecs/features/qt_functions.prf | 2 +-
26 mkspecs/linux-oe-g++/qmake.conf | 43 ++++++++++++++++++++++++++++++++++++ 26 mkspecs/linux-oe-g++/qmake.conf | 42 ++++++++++++++++++++++++++++++++++++
27 mkspecs/linux-oe-g++/qplatformdefs.h | 1 + 27 mkspecs/linux-oe-g++/qplatformdefs.h | 1 +
28 5 files changed, 48 insertions(+), 4 deletions(-) 28 5 files changed, 47 insertions(+), 4 deletions(-)
29 create mode 100644 mkspecs/linux-oe-g++/qmake.conf 29 create mode 100644 mkspecs/linux-oe-g++/qmake.conf
30 create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h 30 create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h
31 31
@@ -78,10 +78,10 @@ index c00fdb73f8..0cf4de7b49 100644
78 cmd = perl -w $$system_path($${cmd}.pl) 78 cmd = perl -w $$system_path($${cmd}.pl)
79diff --git a/mkspecs/linux-oe-g++/qmake.conf b/mkspecs/linux-oe-g++/qmake.conf 79diff --git a/mkspecs/linux-oe-g++/qmake.conf b/mkspecs/linux-oe-g++/qmake.conf
80new file mode 100644 80new file mode 100644
81index 0000000000..c1837e6d55 81index 0000000..30d31ed
82--- /dev/null 82--- /dev/null
83+++ b/mkspecs/linux-oe-g++/qmake.conf 83+++ b/mkspecs/linux-oe-g++/qmake.conf
84@@ -0,0 +1,43 @@ 84@@ -0,0 +1,42 @@
85+# 85+#
86+# qmake configuration for linux-g++ with modifications for building with OpenEmbedded 86+# qmake configuration for linux-g++ with modifications for building with OpenEmbedded
87+# 87+#
@@ -95,7 +95,6 @@ index 0000000000..c1837e6d55
95+# QMAKE_<TOOL> (moc, uic, rcc) are gone, overwrite only ar and strip 95+# QMAKE_<TOOL> (moc, uic, rcc) are gone, overwrite only ar and strip
96+QMAKE_AR = $$(OE_QMAKE_AR) cqs 96+QMAKE_AR = $$(OE_QMAKE_AR) cqs
97+QMAKE_STRIP = $$(OE_QMAKE_STRIP) 97+QMAKE_STRIP = $$(OE_QMAKE_STRIP)
98+QMAKE_WAYLAND_SCANNER = $$(OE_QMAKE_WAYLAND_SCANNER)
99+ 98+
100+include(../common/gcc-base-unix.conf) 99+include(../common/gcc-base-unix.conf)
101+ 100+