diff --git a/tests/PythonQtTestMain.cpp b/tests/PythonQtTestMain.cpp index 8b6dd82fe..54d29d8c7 100644 --- a/tests/PythonQtTestMain.cpp +++ b/tests/PythonQtTestMain.cpp @@ -43,11 +43,11 @@ #include "PythonQtTests.h" #include "PythonQtTestCleanup.h" -#include +#include int main(int argc, char *argv[]) { - QApplication qapp(argc, argv); + QCoreApplication qapp(argc, argv); if (QProcessEnvironment::systemEnvironment().contains("PYTHONQT_RUN_ONLY_MEMORY_TESTS")) { PythonQtMemoryTests test; diff --git a/tests/tests.pro b/tests/tests.pro index 90a72ce07..646045bc7 100644 --- a/tests/tests.pro +++ b/tests/tests.pro @@ -19,8 +19,6 @@ DEFINES += QT_NO_CAST_TO_ASCII gcc: QMAKE_CXXFLAGS += -pedantic -Winit-self -Wuninitialized -QT += widgets - include ( ../build/common.prf ) include ( ../build/PythonQt.prf ) include ( ../build/PythonQt_QtAll.prf )