diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2021-02-19 10:57:25 +0100 |
---|---|---|
committer | Ivan Komissarov <abbapoh@gmail.com> | 2021-02-19 10:57:25 +0100 |
commit | 36f139c4f405e057baa768e4728704b22de6519d (patch) | |
tree | 4b554ff21e92698c185d0683b50c7cd742c18817 /tests/auto/blackbox/testdata-qt/dbus-adaptors/main.cpp | |
parent | 2bc823ec00cec8a1d58981710eb50ba85b4f58d7 (diff) | |
parent | 7b50dca83a5a75a5c24b5ef329f25990daf2ff50 (diff) |
Merge branch '1.18'
Change-Id: I4e437865514add88558f66420718bc02fb39e41d
Diffstat (limited to 'tests/auto/blackbox/testdata-qt/dbus-adaptors/main.cpp')
-rw-r--r-- | tests/auto/blackbox/testdata-qt/dbus-adaptors/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata-qt/dbus-adaptors/main.cpp b/tests/auto/blackbox/testdata-qt/dbus-adaptors/main.cpp index 0491719d7..197005215 100644 --- a/tests/auto/blackbox/testdata-qt/dbus-adaptors/main.cpp +++ b/tests/auto/blackbox/testdata-qt/dbus-adaptors/main.cpp @@ -50,9 +50,15 @@ #include "car.h" #include "car_adaptor.h" +#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) #include <QtWidgets/QApplication> #include <QtWidgets/QGraphicsView> #include <QtWidgets/QGraphicsScene> +#else +#include <QApplication> +#include <QGraphicsView> +#include <QGraphicsScene> +#endif #include <QtDBus/QDBusConnection> int main(int argc, char *argv[]) |