diff options
Diffstat (limited to 'config.tests')
-rw-r--r-- | config.tests/unix/networkmanager/main.cpp | 3 | ||||
-rw-r--r-- | config.tests/unix/networkmanager/networkmanager.pro | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/config.tests/unix/networkmanager/main.cpp b/config.tests/unix/networkmanager/main.cpp index 27e6bd1..f8b3d3c 100644 --- a/config.tests/unix/networkmanager/main.cpp +++ b/config.tests/unix/networkmanager/main.cpp @@ -39,6 +39,9 @@ ** ****************************************************************************/ +#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 c41204f..686286d 100644 --- a/config.tests/unix/networkmanager/networkmanager.pro +++ b/config.tests/unix/networkmanager/networkmanager.pro @@ -1,3 +1,7 @@ SOURCES = main.cpp CONFIG -= qt dylib mac:CONFIG -= app_bundle + +!contains(QT_CONFIG,dbus): { + DEFINES += QT_NO_DBUS +}
\ No newline at end of file |