aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata-qt/dbus-interfaces/controller.cpp
diff options
context:
space:
mode:
authorRaphaël Cotty <raphael.cotty@gmail.com>2020-12-16 15:18:07 +0100
committerRaphaël Cotty <raphael.cotty@gmail.com>2020-12-18 12:38:01 +0000
commit1bb4c3c95e548bd57f733f2936e370cd40e81765 (patch)
treead880c5ad14349956e3d1885c4e8fb0b8246cc23 /tests/auto/blackbox/testdata-qt/dbus-interfaces/controller.cpp
parent9e9caf2268fd75f4bddd74084afcc7ba27fe5d2e (diff)
Add qt4 docker image for basic testing
Change-Id: Ied6d9eac49fcb20de72499ab7c39e83a90a98b75 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'tests/auto/blackbox/testdata-qt/dbus-interfaces/controller.cpp')
-rw-r--r--tests/auto/blackbox/testdata-qt/dbus-interfaces/controller.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata-qt/dbus-interfaces/controller.cpp b/tests/auto/blackbox/testdata-qt/dbus-interfaces/controller.cpp
index eaff5c775..f6680676a 100644
--- a/tests/auto/blackbox/testdata-qt/dbus-interfaces/controller.cpp
+++ b/tests/auto/blackbox/testdata-qt/dbus-interfaces/controller.cpp
@@ -48,7 +48,12 @@
**
****************************************************************************/
+#include <QtGlobal>
+#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
#include <QtWidgets>
+#else
+#include <QtGui>
+#endif
#include "controller.h"
#include "car_interface.h"