diff --git a/tests/auto/cmake/test_modules/CMakeLists.txt b/tests/auto/cmake/test_modules/CMakeLists.txt index 8775ceab60..d96db7d557 100644 --- a/tests/auto/cmake/test_modules/CMakeLists.txt +++ b/tests/auto/cmake/test_modules/CMakeLists.txt @@ -15,7 +15,7 @@ set(qtbase_modules Xml ) -if (UNIX AND NOT APPLE) +if (UNIX AND NOT APPLE AND NOT QNXNTO) add_definitions(-DEXPECT_DBUS_AVAILABLE) list(APPEND qtbase_modules DBus) endif()