From 6b95e54f1f99875054b54df6a16233c2a44810b4 Mon Sep 17 00:00:00 2001 From: Kent Hansen Date: Tue, 5 Jun 2012 14:32:07 +0200 Subject: [PATCH] Fix compilation of examples with -no-widgets Change-Id: Ie0e19daf6c6476b5c5130f4930dfa3df92917384 Reviewed-by: Oswald Buddenhagen Reviewed-by: Lars Knoll --- examples/dbus/dbus.pro | 2 +- examples/examples.pro | 2 +- examples/network/network.pro | 2 +- examples/threads/threads.pro | 2 +- examples/xml/xml.pro | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/dbus/dbus.pro b/examples/dbus/dbus.pro index 12b39e2f43..a6a0ded836 100644 --- a/examples/dbus/dbus.pro +++ b/examples/dbus/dbus.pro @@ -3,7 +3,7 @@ SUBDIRS = listnames \ pingpong \ complexpingpong -!contains(QT_CONFIG, no-gui) { +!contains(QT_CONFIG, no-widgets) { SUBDIRS += dbus-chat \ remotecontrolledcar } diff --git a/examples/examples.pro b/examples/examples.pro index 7ce42d7fe7..176a5c95c5 100644 --- a/examples/examples.pro +++ b/examples/examples.pro @@ -8,7 +8,7 @@ SUBDIRS = \ xml \ qpa -!contains(QT_CONFIG, no-gui) { +!contains(QT_CONFIG, no-widgets) { SUBDIRS += \ animation \ desktop \ diff --git a/examples/network/network.pro b/examples/network/network.pro index 64cff5393a..11f96ffdb7 100644 --- a/examples/network/network.pro +++ b/examples/network/network.pro @@ -4,7 +4,7 @@ SUBDIRS = \ download \ downloadmanager -!contains(QT_CONFIG, no-gui) { +!contains(QT_CONFIG, no-widgets) { SUBDIRS += \ blockingfortuneclient \ broadcastreceiver \ diff --git a/examples/threads/threads.pro b/examples/threads/threads.pro index b5cba3509d..084ce1a68f 100644 --- a/examples/threads/threads.pro +++ b/examples/threads/threads.pro @@ -2,7 +2,7 @@ TEMPLATE = subdirs SUBDIRS = semaphores \ waitconditions -!contains(QT_CONFIG, no-gui):SUBDIRS += mandelbrot +!contains(QT_CONFIG, no-widgets):SUBDIRS += mandelbrot # install target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/threads diff --git a/examples/xml/xml.pro b/examples/xml/xml.pro index cec740da25..4e8e9401b7 100644 --- a/examples/xml/xml.pro +++ b/examples/xml/xml.pro @@ -2,7 +2,7 @@ TEMPLATE = subdirs SUBDIRS = htmlinfo \ xmlstreamlint -!contains(QT_CONFIG, no-gui) { +!contains(QT_CONFIG, no-widgets) { SUBDIRS += dombookmarks \ rsslisting \ saxbookmarks \