diff options
Diffstat (limited to 'tests/kubetestrunner.cpp')
-rw-r--r-- | tests/kubetestrunner.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/kubetestrunner.cpp b/tests/kubetestrunner.cpp index 99017a43..d2c7331c 100644 --- a/tests/kubetestrunner.cpp +++ b/tests/kubetestrunner.cpp | |||
@@ -18,10 +18,12 @@ | |||
18 | */ | 18 | */ |
19 | #include <QtQuickTest/quicktest.h> | 19 | #include <QtQuickTest/quicktest.h> |
20 | #include <QQmlEngine> | 20 | #include <QQmlEngine> |
21 | #include <QApplication> | ||
21 | #include <sink/test.h> | 22 | #include <sink/test.h> |
22 | 23 | ||
23 | int main(int argc, char **argv) | 24 | int main(int argc, char **argv) |
24 | { | 25 | { |
26 | QApplication app(argc, argv); | ||
25 | QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts, true); | 27 | QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts, true); |
26 | 28 | ||
27 | QTEST_ADD_GPU_BLACKLIST_SUPPORT | 29 | QTEST_ADD_GPU_BLACKLIST_SUPPORT |