diff options
-rw-r--r-- | tests/auto/theme/tst_theme.cpp | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/tests/auto/theme/tst_theme.cpp b/tests/auto/theme/tst_theme.cpp index daa1b1fe..786a9b53 100644 --- a/tests/auto/theme/tst_theme.cpp +++ b/tests/auto/theme/tst_theme.cpp @@ -35,23 +35,4 @@ ****************************************************************************/ #include <QtQuickTest/quicktest.h> -#include <QtGui/qguiapplication.h> -#include <QtQml/qqmlapplicationengine.h> - -// based on QUICK_TEST_MAIN() defined in quicktest.h -int main(int argc, char **argv) -{ - QTEST_ADD_GPU_BLACKLIST_SUPPORT - QTEST_SET_MAIN_SOURCE_PATH - - { - // QTBUG-48651 - QGuiApplication app(argc, argv); - QQmlApplicationEngine engine; - engine.loadData("import Qt.labs.controls 1.0; Slider { } "); - if (engine.rootObjects().isEmpty()) - return -1; - } - - return quick_test_main(argc, argv, "tst_theme", QUICK_TEST_SOURCE_DIR); -} +QUICK_TEST_MAIN(tst_theme) |