summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@nokia.com>2012-07-05 16:19:00 +0900
committerQt by Nokia <qt-info@nokia.com>2012-07-10 13:29:26 +0200
commit88b171a49de1ef7ea2b45631cc665371dd2a4b44 (patch)
tree276de06eb70668562ade182ac21f617ae8f0f91f
parent9dcb94f5c3adf512cec6df6c79973b81e2fa2586 (diff)
downloadqtsvg-88b171a49de1ef7ea2b45631cc665371dd2a4b44.tar.gz
Make qtsvg compile with -no-widgets
disable building all examples, almost all tests and a plugin Change-Id: I80f923dfe2c3cfa6e27b52db092a9770c3d9fbd4 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-rw-r--r--examples/draganddrop/draganddrop.pro2
-rw-r--r--examples/embedded/embedded.pro2
-rw-r--r--examples/network/network.pro2
-rw-r--r--examples/opengl/opengl.pro2
-rw-r--r--examples/painting/painting.pro2
-rw-r--r--examples/richtext/richtext.pro2
-rw-r--r--src/plugins/iconengines/iconengines.pro2
-rw-r--r--tests/auto/auto.pro15
8 files changed, 15 insertions, 14 deletions
diff --git a/examples/draganddrop/draganddrop.pro b/examples/draganddrop/draganddrop.pro
index d87e6b2..99fecb0 100644
--- a/examples/draganddrop/draganddrop.pro
+++ b/examples/draganddrop/draganddrop.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
-SUBDIRS += delayedencoding
+!contains(QT_CONFIG, no-widgets): SUBDIRS += delayedencoding
QT+=widgets
diff --git a/examples/embedded/embedded.pro b/examples/embedded/embedded.pro
index 8749fdb..911fd5a 100644
--- a/examples/embedded/embedded.pro
+++ b/examples/embedded/embedded.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
-SUBDIRS += desktopservices embeddedsvgviewer fluidlauncher weatherinfo
+!contains(QT_CONFIG, no-widgets): SUBDIRS += desktopservices embeddedsvgviewer fluidlauncher weatherinfo
QT+=widgets
diff --git a/examples/network/network.pro b/examples/network/network.pro
index b4009da..6cf6c42 100644
--- a/examples/network/network.pro
+++ b/examples/network/network.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
-SUBDIRS += bearercloud
+!contains(QT_CONFIG, no-widgets): SUBDIRS += bearercloud
QT+=widgets
diff --git a/examples/opengl/opengl.pro b/examples/opengl/opengl.pro
index 1cd7df1..fd845b6 100644
--- a/examples/opengl/opengl.pro
+++ b/examples/opengl/opengl.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
-SUBDIRS += framebufferobject
+!contains(QT_CONFIG, no-widgets): SUBDIRS += framebufferobject
QT+=widgets
diff --git a/examples/painting/painting.pro b/examples/painting/painting.pro
index 518bf06..9b7e2cd 100644
--- a/examples/painting/painting.pro
+++ b/examples/painting/painting.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
-SUBDIRS += svgviewer svggenerator
+!contains(QT_CONFIG, no-widgets): SUBDIRS += svgviewer svggenerator
QT+=widgets
diff --git a/examples/richtext/richtext.pro b/examples/richtext/richtext.pro
index 6983491..be9c6c3 100644
--- a/examples/richtext/richtext.pro
+++ b/examples/richtext/richtext.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
-SUBDIRS += textobject
+!contains(QT_CONFIG, no-widgets): SUBDIRS += textobject
QT+=widgets
diff --git a/src/plugins/iconengines/iconengines.pro b/src/plugins/iconengines/iconengines.pro
index bef8995..a3053ec 100644
--- a/src/plugins/iconengines/iconengines.pro
+++ b/src/plugins/iconengines/iconengines.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
-contains(QT_CONFIG, svg): SUBDIRS += svgiconengine
+!contains(QT_CONFIG, no-widgets): SUBDIRS += svgiconengine
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 7052605..e7da7df 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -1,8 +1,9 @@
TEMPLATE=subdirs
-SUBDIRS=\
- qsvgdevice \
- qsvggenerator \
- qsvgrenderer \
- qicon_svg \
-
-!cross_compile: SUBDIRS += host.pro
+!contains(QT_CONFIG, no-widgets) {
+ SUBDIRS = \
+ qsvgdevice \
+ qsvggenerator \
+ qsvgrenderer \
+ qicon_svg \
+}
+!cross_compile: SUBDIRS += host.pro