aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata-qt/dbus-adaptors/car.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/blackbox/testdata-qt/dbus-adaptors/car.cpp')
-rw-r--r--tests/auto/blackbox/testdata-qt/dbus-adaptors/car.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata-qt/dbus-adaptors/car.cpp b/tests/auto/blackbox/testdata-qt/dbus-adaptors/car.cpp
index 5e4f348d2..f67e4c193 100644
--- a/tests/auto/blackbox/testdata-qt/dbus-adaptors/car.cpp
+++ b/tests/auto/blackbox/testdata-qt/dbus-adaptors/car.cpp
@@ -49,7 +49,12 @@
****************************************************************************/
#include "car.h"
+
+#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
#include <QtWidgets/QtWidgets>
+#else
+#include <QtGui>
+#endif
#include <math.h>
static const double Pi = 3.14159265358979323846264338327950288419717;