diff options
author | Simon Busch <morphis@gravedo.de> | 2013-07-22 21:11:56 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-07-25 22:33:53 +0200 |
commit | 243e05f1de42d372abfecab721f8c40eee08548e (patch) | |
tree | c8f9d891b5654a3c32f5ea48f314953d5a68b9a0 /recipes-qt/qt5/qtbase-git | |
parent | b0100c1b5704e0216733a35ff42afab3c350bef4 (diff) | |
download | meta-qt5-243e05f1de42d372abfecab721f8c40eee08548e.tar.gz |
qtbase: fix cmake files to use our host binaries
* only for qt 5.1.0; didn't had the time to port this to 5.0.2
* client recipes need to export OE_QMAKE_PATH_EXTERNAL_HOST_BINS in EXTRA_OECMAKE
Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtbase-git')
-rw-r--r-- | recipes-qt/qt5/qtbase-git/0024-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtbase-git/0024-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch b/recipes-qt/qt5/qtbase-git/0024-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch new file mode 100644 index 00000000..aa51e2f8 --- /dev/null +++ b/recipes-qt/qt5/qtbase-git/0024-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch | |||
@@ -0,0 +1,47 @@ | |||
1 | From 03ff55ff67ef7ab929d9b323484da382f6318df2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Simon Busch <morphis@gravedo.de> | ||
3 | Date: Mon, 22 Jul 2013 21:09:41 +0000 | ||
4 | Subject: [PATCH 24/24] Use OE_QMAKE_PATH_EXTERNAL_HOST_BINS to determine path | ||
5 | to host binaries | ||
6 | |||
7 | Upstream-Status: Inappropiate (configuration) | ||
8 | |||
9 | Signed-off-by: Simon Busch <morphis@gravedo.de> | ||
10 | --- | ||
11 | src/corelib/Qt5CoreConfigExtras.cmake.in | 6 +++--- | ||
12 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
13 | |||
14 | diff --git a/src/corelib/Qt5CoreConfigExtras.cmake.in b/src/corelib/Qt5CoreConfigExtras.cmake.in | ||
15 | index e01b448..2f6b8ea 100644 | ||
16 | --- a/src/corelib/Qt5CoreConfigExtras.cmake.in | ||
17 | +++ b/src/corelib/Qt5CoreConfigExtras.cmake.in | ||
18 | @@ -5,7 +5,7 @@ if (NOT TARGET Qt5::qmake) | ||
19 | !!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE) | ||
20 | set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_BIN_DIR}qmake$$CMAKE_BIN_SUFFIX\") | ||
21 | !!ELSE | ||
22 | - set(imported_location \"$${CMAKE_BIN_DIR}qmake$$CMAKE_BIN_SUFFIX\") | ||
23 | + set(imported_location \"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/$${CMAKE_BIN_DIR}qmake$$CMAKE_BIN_SUFFIX\") | ||
24 | !!ENDIF | ||
25 | _qt5_Core_check_file_exists(${imported_location}) | ||
26 | |||
27 | @@ -20,7 +20,7 @@ if (NOT TARGET Qt5::moc) | ||
28 | !!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE) | ||
29 | set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_BIN_DIR}moc$$CMAKE_BIN_SUFFIX\") | ||
30 | !!ELSE | ||
31 | - set(imported_location \"$${CMAKE_BIN_DIR}moc$$CMAKE_BIN_SUFFIX\") | ||
32 | + set(imported_location \"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/$${CMAKE_BIN_DIR}moc$$CMAKE_BIN_SUFFIX\") | ||
33 | !!ENDIF | ||
34 | _qt5_Core_check_file_exists(${imported_location}) | ||
35 | |||
36 | @@ -37,7 +37,7 @@ if (NOT TARGET Qt5::rcc) | ||
37 | !!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE) | ||
38 | set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_BIN_DIR}rcc$$CMAKE_BIN_SUFFIX\") | ||
39 | !!ELSE | ||
40 | - set(imported_location \"$${CMAKE_BIN_DIR}rcc$$CMAKE_BIN_SUFFIX\") | ||
41 | + set(imported_location \"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/$${CMAKE_BIN_DIR}rcc$$CMAKE_BIN_SUFFIX\") | ||
42 | !!ENDIF | ||
43 | _qt5_Core_check_file_exists(${imported_location}) | ||
44 | |||
45 | -- | ||
46 | 1.8.3.2 | ||
47 | |||