Skip to content

Commit 8228189

Browse files
committed
Change redundant QApplication to QCoreApplication
1 parent c8820f4 commit 8228189

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

tests/PythonQtTestMain.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@
4343
#include "PythonQtTests.h"
4444
#include "PythonQtTestCleanup.h"
4545

46-
#include <QApplication>
46+
#include <QCoreApplication>
4747

4848
int main(int argc, char *argv[])
4949
{
50-
QApplication qapp(argc, argv);
50+
QCoreApplication qapp(argc, argv);
5151

5252
if (QProcessEnvironment::systemEnvironment().contains("PYTHONQT_RUN_ONLY_MEMORY_TESTS")) {
5353
PythonQtMemoryTests test;

tests/tests.pro

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ DEFINES += QT_NO_CAST_TO_ASCII
1919

2020
gcc: QMAKE_CXXFLAGS += -pedantic -Winit-self -Wuninitialized
2121

22-
QT += widgets
23-
2422
include ( ../build/common.prf )
2523
include ( ../build/PythonQt.prf )
2624
include ( ../build/PythonQt_QtAll.prf )

0 commit comments

Comments
 (0)