We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8820f4 commit 8228189Copy full SHA for 8228189
tests/PythonQtTestMain.cpp
@@ -43,11 +43,11 @@
43
#include "PythonQtTests.h"
44
#include "PythonQtTestCleanup.h"
45
46
-#include <QApplication>
+#include <QCoreApplication>
47
48
int main(int argc, char *argv[])
49
{
50
- QApplication qapp(argc, argv);
+ QCoreApplication qapp(argc, argv);
51
52
if (QProcessEnvironment::systemEnvironment().contains("PYTHONQT_RUN_ONLY_MEMORY_TESTS")) {
53
PythonQtMemoryTests test;
tests/tests.pro
@@ -19,8 +19,6 @@ DEFINES += QT_NO_CAST_TO_ASCII
19
20
gcc: QMAKE_CXXFLAGS += -pedantic -Winit-self -Wuninitialized
21
22
-QT += widgets
23
-
24
include ( ../build/common.prf )
25
include ( ../build/PythonQt.prf )
26
include ( ../build/PythonQt_QtAll.prf )
0 commit comments