From 82281891cf81afc19e7b00e1d675958bf4921947 Mon Sep 17 00:00:00 2001 From: MinyazevR Date: Sun, 16 Nov 2025 04:41:31 +0300 Subject: [PATCH] Change redundant QApplication to QCoreApplication --- tests/PythonQtTestMain.cpp | 4 ++-- tests/tests.pro | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) 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 )