diff options
| -rw-r--r-- | recipes-qt/qt5/files/0001-Always-build-uic.patch | 31 | ||||
| -rw-r--r-- | recipes-qt/qt5/qt5-native.inc | 3 |
2 files changed, 33 insertions, 1 deletions
diff --git a/recipes-qt/qt5/files/0001-Always-build-uic.patch b/recipes-qt/qt5/files/0001-Always-build-uic.patch new file mode 100644 index 00000000..3f2e3fd9 --- /dev/null +++ b/recipes-qt/qt5/files/0001-Always-build-uic.patch | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | From 1092de02d1ac256a8c56fb5b5e590a4df8188acb Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Mikko Levonmaa <mikko.levonmaa@palm.com> | ||
| 3 | Date: Tue, 27 Nov 2012 12:46:44 -0800 | ||
| 4 | Subject: [PATCH] Always build uic | ||
| 5 | |||
| 6 | Even if we are not building gui or widgets. This tool is needed later | ||
| 7 | as a native tool when compiling the target. | ||
| 8 | |||
| 9 | Signed-off-by: Mikko Levonmaa <mikko.levonmaa@palm.com> | ||
| 10 | --- | ||
| 11 | src/tools/tools.pro | 4 ++-- | ||
| 12 | 1 files changed, 2 insertions(+), 2 deletions(-) | ||
| 13 | |||
| 14 | diff --git a/src/tools/tools.pro b/src/tools/tools.pro | ||
| 15 | index c67d6bf..b6f3b39 100644 | ||
| 16 | --- a/src/tools/tools.pro | ||
| 17 | +++ b/src/tools/tools.pro | ||
| 18 | @@ -1,8 +1,8 @@ | ||
| 19 | TEMPLATE = subdirs | ||
| 20 | |||
| 21 | -TOOLS_SUBDIRS = src_tools_bootstrap src_tools_moc src_tools_rcc src_tools_qdoc | ||
| 22 | +TOOLS_SUBDIRS = src_tools_bootstrap src_tools_moc src_tools_rcc src_tools_qdoc src_tools_uic | ||
| 23 | contains(QT_CONFIG, dbus): TOOLS_SUBDIRS += src_tools_qdbusxml2cpp src_tools_qdbuscpp2xml | ||
| 24 | -!contains(QT_CONFIG, no-widgets): TOOLS_SUBDIRS += src_tools_uic | ||
| 25 | + | ||
| 26 | # Set subdir and respective target name | ||
| 27 | src_tools_bootstrap.subdir = $$PWD/bootstrap | ||
| 28 | src_tools_bootstrap.target = sub-tools-bootstrap | ||
| 29 | -- | ||
| 30 | 1.7.4.1 | ||
| 31 | |||
diff --git a/recipes-qt/qt5/qt5-native.inc b/recipes-qt/qt5/qt5-native.inc index 0585afc2..226979e4 100644 --- a/recipes-qt/qt5/qt5-native.inc +++ b/recipes-qt/qt5/qt5-native.inc | |||
| @@ -14,6 +14,7 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/qtbase:" | |||
| 14 | 14 | ||
| 15 | SRC_URI += " \ | 15 | SRC_URI += " \ |
| 16 | file://0001-qlibraryinfo-Allow-the-specification-of-where-to-loa.patch \ | 16 | file://0001-qlibraryinfo-Allow-the-specification-of-where-to-loa.patch \ |
| 17 | file://0001-Always-build-uic.patch \ | ||
| 17 | " | 18 | " |
| 18 | 19 | ||
| 19 | EXTRA_OECONF = " \ | 20 | EXTRA_OECONF = " \ |
| @@ -55,7 +56,7 @@ do_configure() { | |||
| 55 | 56 | ||
| 56 | do_install() { | 57 | do_install() { |
| 57 | install -d ${D}${bindir}/ | 58 | install -d ${D}${bindir}/ |
| 58 | for i in findtr fixqt4headers.pl moc qdoc qmake rcc qdbuscpp2xml qdbusxml2cpp syncqt; do | 59 | for i in findtr fixqt4headers.pl moc qdoc qmake rcc qdbuscpp2xml qdbusxml2cpp syncqt uic; do |
| 59 | install -v -m 0755 bin/${i} ${D}${bindir}/${i} | 60 | install -v -m 0755 bin/${i} ${D}${bindir}/${i} |
| 60 | done | 61 | done |
| 61 | install -d ${D}${datadir}/qt5/ | 62 | install -d ${D}${datadir}/qt5/ |
