summaryrefslogtreecommitdiff
path: root/config.tests
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-01-29 10:30:42 +1000
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-01-29 10:30:42 +1000
commit1e06b5e995c6df715da8db53c8375d458277144d (patch)
tree4c7c820e63e82fb6c1606ed379f8b9f7e529c7a0 /config.tests
parentb2fc251bb4628a06282d1dcaeda79222b300b912 (diff)
downloadqt4-tools-1e06b5e995c6df715da8db53c8375d458277144d.tar.gz
Bearer Management Integration 4.
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/unix/networkmanager/main.cpp4
-rw-r--r--config.tests/unix/networkmanager/networkmanager.pro3
2 files changed, 6 insertions, 1 deletions
diff --git a/config.tests/unix/networkmanager/main.cpp b/config.tests/unix/networkmanager/main.cpp
index 6f2bae6bfd..60c6dfce63 100644
--- a/config.tests/unix/networkmanager/main.cpp
+++ b/config.tests/unix/networkmanager/main.cpp
@@ -38,7 +38,9 @@
** $QT_END_LICENSE$
**
****************************************************************************/
-
+#if defined(QT_NO_DBUS)
+sjkp //error is no QtDBus
+#endif
#include <NetworkManager/NetworkManager.h>
int main(int argc, char** argv)
diff --git a/config.tests/unix/networkmanager/networkmanager.pro b/config.tests/unix/networkmanager/networkmanager.pro
index 554f51341c..3af4fcb39d 100644
--- a/config.tests/unix/networkmanager/networkmanager.pro
+++ b/config.tests/unix/networkmanager/networkmanager.pro
@@ -9,3 +9,6 @@ INCLUDEPATH += .
# Input
SOURCES += main.cpp
+!contains(QT_CONFIG,dbus): {
+ DEFINES += QT_NO_DBUS
+}