summaryrefslogtreecommitdiffstats
path: root/patches/qt-embedded-linux-opensource-src-4.4.0/generic/enable-tool-libs.diff
blob: eaddc11dbc2c61e17c33896c391b898b77366c78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Subject: make sure dbus is built
From: Michael Olbrich <m.olbrich@pengutronix.de>

By default all tools are disabled when cross-compiling. For some reason qdbus
(libs and tools) is a "tool". This patch enables qdbus for cross-compiling.
Other tools like designer and assistant have libs that can be used by other
applications. These are enabled as well.
Note: "-make tools" is needed as a configure flag as well to enable this.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---
 projects.pro |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/projects.pro
===================================================================
--- a/projects.pro
+++ b/projects.pro
@@ -27,7 +27,7 @@ isEmpty(QT_BUILD_PARTS) { #defaults
 for(PROJECT, $$list($$lower($$unique(QT_BUILD_PARTS)))) {
     isEqual(PROJECT, tools) {
        !cross_compile:SUBDIRS += tools
-       else:SUBDIRS += tools/qtestlib
+       else:SUBDIRS += tools/qtestlib tools/qdbus tools/designer/src/lib tools/designer/src/uitools tools/assistant
     } else:isEqual(PROJECT, examples) {
        SUBDIRS += examples
     } else:isEqual(PROJECT, demos) {