summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtbase
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2015-01-27 06:53:51 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2015-02-18 16:52:01 +0100
commitce88fc4221a8f71cc8f37dec2213f797a5e366c4 (patch)
tree90dc3d51f164f06527d09c4cf4a61552ac8da210 /recipes-qt/qt5/qtbase
parent92b7b49934d0ab5accd14b44427c6df5194087d6 (diff)
downloadmeta-qt5-ce88fc4221a8f71cc8f37dec2213f797a5e366c4.tar.gz
qtbase: build qmake for target with paths aligned
Proper qmake operation was tested with qt5-creator. Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtbase')
-rw-r--r--recipes-qt/qt5/qtbase/0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch27
-rw-r--r--recipes-qt/qt5/qtbase/0015-Set-paths-for-target-properly.patch72
2 files changed, 92 insertions, 7 deletions
diff --git a/recipes-qt/qt5/qtbase/0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch b/recipes-qt/qt5/qtbase/0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch
index 21e0987b..4d4291cf 100644
--- a/recipes-qt/qt5/qtbase/0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch
+++ b/recipes-qt/qt5/qtbase/0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch
@@ -14,17 +14,17 @@ Signed-off-by: Yu Ke <ke.yu@intel.com>
14Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> 14Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
15Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com> 15Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
16Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 16Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
17---
18 configure | 2 +- 17 configure | 2 +-
18 qmake/qmake.pri | 3 ++-
19 qmake/qmake.pro | 2 ++ 19 qmake/qmake.pro | 2 ++
20 2 files changed, 3 insertions(+), 1 deletion(-) 20 3 files changed, 5 insertions(+), 2 deletions(-)
21 21
22diff --git a/configure b/configure 22diff --git a/configure b/configure
23index bd43281..5d1b3aa 100755 23index 43be722..39516d2 100755
24--- a/configure 24--- a/configure
25+++ b/configure 25+++ b/configure
26@@ -3724,7 +3724,7 @@ setBootstrapEvalVariable() 26@@ -3759,7 +3759,7 @@ setBootstrapVariable()
27 27 }
28 28
29 # build qmake 29 # build qmake
30-if true; then ###[ '!' -f "$outpath/bin/qmake" ]; 30-if true; then ###[ '!' -f "$outpath/bin/qmake" ];
@@ -32,15 +32,28 @@ index bd43281..5d1b3aa 100755
32 echo "Creating qmake..." 32 echo "Creating qmake..."
33 33
34 mkdir -p "$outpath/qmake" || exit 34 mkdir -p "$outpath/qmake" || exit
35diff --git a/qmake/qmake.pri b/qmake/qmake.pri
36index 57dcbb0..e2c5845 100644
37--- a/qmake/qmake.pri
38+++ b/qmake/qmake.pri
39@@ -82,7 +82,8 @@ bootstrap { #Qt code
40 qjsonparser.cpp \
41 qjsonarray.cpp \
42 qjsonobject.cpp \
43- qjsonvalue.cpp
44+ qjsonvalue.cpp \
45+ qdebug.cpp
46
47 HEADERS+= \
48 qbitarray.h \
35diff --git a/qmake/qmake.pro b/qmake/qmake.pro 49diff --git a/qmake/qmake.pro b/qmake/qmake.pro
36index 89d6ea5..7c605b9 100644 50index 89d6ea5..7c605b9 100644
37--- a/qmake/qmake.pro 51--- a/qmake/qmake.pro
38+++ b/qmake/qmake.pro 52+++ b/qmake/qmake.pro
39@@ -8,6 +8,8 @@ CONFIG -= qt 53@@ -8,6 +8,7 @@ CONFIG -= qt
40 DEFINES += \ 54 DEFINES += \
41 QT_BUILD_QMAKE \ 55 QT_BUILD_QMAKE \
42 PROEVALUATOR_FULL 56 PROEVALUATOR_FULL
43+DESTDIR = ../bin/
44+TARGET = qmake 57+TARGET = qmake
45 58
46 VPATH += \ 59 VPATH += \
diff --git a/recipes-qt/qt5/qtbase/0015-Set-paths-for-target-properly.patch b/recipes-qt/qt5/qtbase/0015-Set-paths-for-target-properly.patch
new file mode 100644
index 00000000..28512f0b
--- /dev/null
+++ b/recipes-qt/qt5/qtbase/0015-Set-paths-for-target-properly.patch
@@ -0,0 +1,72 @@
1From d84b7386902e024a0cfe5a6689930e5548a60480 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Thu, 22 Jan 2015 16:09:35 +0100
4Subject: [PATCH] Set paths for target properly
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Upstream-Status: Inappropriate [OE specific]
10
11Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
12---
13 configure | 42 +++++++++++++++++++++---------------------
14 1 file changed, 21 insertions(+), 21 deletions(-)
15
16diff --git a/configure b/configure
17index 43be722..0e1a64a 100755
18--- a/configure
19+++ b/configure
20@@ -3634,28 +3634,27 @@ static const char qt_configure_prefix_path_strs[][512 + 12] = {
21 "qt_xmplpath=$QT_SYSROOT_EXAMPLES",
22 "qt_tstspath=$QT_SYSROOT_TESTS",
23 #else
24- "qt_prfxpath=$QT_INSTALL_PREFIX",
25- "qt_docspath=$QT_INSTALL_DOCS",
26- "qt_hdrspath=$QT_INSTALL_HEADERS",
27- "qt_libspath=$QT_INSTALL_LIBS",
28- "qt_lbexpath=$QT_INSTALL_LIBEXECS",
29- "qt_binspath=$QT_INSTALL_BINS",
30- "qt_plugpath=$QT_INSTALL_PLUGINS",
31- "qt_impspath=$QT_INSTALL_IMPORTS",
32- "qt_qml2path=$QT_INSTALL_QML",
33- "qt_adatpath=$QT_INSTALL_ARCHDATA",
34- "qt_datapath=$QT_INSTALL_DATA",
35- "qt_trnspath=$QT_INSTALL_TRANSLATIONS",
36- "qt_xmplpath=$QT_INSTALL_EXAMPLES",
37- "qt_tstspath=$QT_INSTALL_TESTS",
38- "qt_ssrtpath=$CFG_SYSROOT",
39- "qt_hpfxpath=$QT_HOST_PREFIX",
40- "qt_hbinpath=$QT_HOST_BINS",
41- "qt_hlibpath=$QT_HOST_LIBS",
42- "qt_hdatpath=$QT_HOST_DATA",
43- "qt_ebinpath=$QT_EXTERNAL_HOST_BINS",
44- "qt_targspec=$shortxspec",
45- "qt_hostspec=$shortspec",
46+ "qt_prfxpath=$QT_SYSROOT_PREFIX",
47+ "qt_docspath=$QT_SYSROOT_DOCS",
48+ "qt_hdrspath=$QT_SYSROOT_HEADERS",
49+ "qt_libspath=$QT_SYSROOT_LIBS",
50+ "qt_lbexpath=$QT_SYSROOT_LIBEXECS",
51+ "qt_binspath=$QT_SYSROOT_BINS",
52+ "qt_plugpath=$QT_SYSROOT_PLUGINS",
53+ "qt_impspath=$QT_SYSROOT_IMPORTS",
54+ "qt_qml2path=$QT_SYSROOT_QML",
55+ "qt_adatpath=$QT_SYSROOT_ARCHDATA",
56+ "qt_datapath=$QT_SYSROOT_DATA",
57+ "qt_trnspath=$QT_SYSROOT_TRANSLATIONS",
58+ "qt_xmplpath=$QT_SYSROOT_EXAMPLES",
59+ "qt_tstspath=$QT_SYSROOT_TESTS",
60+ "qt_ssrtpath=",
61+ "qt_hpfxpath=$QT_SYSROOT_PREFIX",
62+ "qt_hbinpath=$QT_SYSROOT_BINS",
63+ "qt_hlibpath=$QT_SYSROOT_LIBS",
64+ "qt_hdatpath=$QT_SYSROOT_LIBS/qt5",
65+ "qt_targspec=linux-g++",
66+ "qt_hostspec=linux-g++",
67 #endif
68 };
69 static const char qt_configure_settings_path_str[256 + 12] = "qt_stngpath=$QT_INSTALL_SETTINGS";
70--
711.8.3.1
72