From ad2da2d27a590333fc89a56fc58700a09c3017b3 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 17 Dec 2020 14:55:57 +0100 Subject: Remove the qmake project files Remove the qmake project files for most of Qt. Leave the qmake project files for examples, because we still test those in the CI to ensure qmake does not regress. Also leave the qmake project files for utils and other minor parts that lack CMake project files. Task-number: QTBUG-88742 Change-Id: I6cdf059e6204816f617f9624f3ea9822703f73cc Reviewed-by: Edward Welbourne Reviewed-by: Qt CI Bot Reviewed-by: Kai Koehne --- .../desktopsettingsaware/desktopsettingsaware.pro | 14 ----------- .../widgets/kernel/qapplication/modal/modal.pro | 15 ------------ .../widgets/kernel/qapplication/qapplication.pro | 6 ----- .../kernel/qapplication/test/CMakeLists.txt | 1 - .../auto/widgets/kernel/qapplication/test/test.pro | 28 ---------------------- .../kernel/qapplication/tst_qapplication.cpp | 4 ++-- 6 files changed, 2 insertions(+), 66 deletions(-) delete mode 100644 tests/auto/widgets/kernel/qapplication/desktopsettingsaware/desktopsettingsaware.pro delete mode 100644 tests/auto/widgets/kernel/qapplication/modal/modal.pro delete mode 100644 tests/auto/widgets/kernel/qapplication/qapplication.pro delete mode 100644 tests/auto/widgets/kernel/qapplication/test/test.pro (limited to 'tests/auto/widgets/kernel/qapplication') diff --git a/tests/auto/widgets/kernel/qapplication/desktopsettingsaware/desktopsettingsaware.pro b/tests/auto/widgets/kernel/qapplication/desktopsettingsaware/desktopsettingsaware.pro deleted file mode 100644 index 442bf33b61..0000000000 --- a/tests/auto/widgets/kernel/qapplication/desktopsettingsaware/desktopsettingsaware.pro +++ /dev/null @@ -1,14 +0,0 @@ -QT += widgets -CONFIG -= app_bundle - -debug_and_release { - CONFIG(debug, debug|release) { - TARGET = ../../debug/desktopsettingsaware_helper - } else { - TARGET = ../../release/desktopsettingsaware_helper - } -} else { - TARGET = ../desktopsettingsaware_helper -} - -SOURCES += main.cpp diff --git a/tests/auto/widgets/kernel/qapplication/modal/modal.pro b/tests/auto/widgets/kernel/qapplication/modal/modal.pro deleted file mode 100644 index e832d90821..0000000000 --- a/tests/auto/widgets/kernel/qapplication/modal/modal.pro +++ /dev/null @@ -1,15 +0,0 @@ -QT += widgets -SOURCES += main.cpp \ - base.cpp -debug_and_release { - CONFIG(debug, debug|release) { - TARGET = ../../debug/modal_helper - } else { - TARGET = ../../release/modal_helper - } -} else { - TARGET = ../modal_helper -} -CONFIG -= app_bundle -HEADERS += base.h - diff --git a/tests/auto/widgets/kernel/qapplication/qapplication.pro b/tests/auto/widgets/kernel/qapplication/qapplication.pro deleted file mode 100644 index 5154c915cd..0000000000 --- a/tests/auto/widgets/kernel/qapplication/qapplication.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE = subdirs - -SUBDIRS = desktopsettingsaware modal - -test.depends += $$SUBDIRS -SUBDIRS += test diff --git a/tests/auto/widgets/kernel/qapplication/test/CMakeLists.txt b/tests/auto/widgets/kernel/qapplication/test/CMakeLists.txt index a93a677417..ad5209f9bf 100644 --- a/tests/auto/widgets/kernel/qapplication/test/CMakeLists.txt +++ b/tests/auto/widgets/kernel/qapplication/test/CMakeLists.txt @@ -5,7 +5,6 @@ ##################################################################### # Collect test data -list(APPEND test_data "../test/test.pro") list(APPEND test_data "../tmp/README") list(APPEND test_data "../modal") diff --git a/tests/auto/widgets/kernel/qapplication/test/test.pro b/tests/auto/widgets/kernel/qapplication/test/test.pro deleted file mode 100644 index 39b099261a..0000000000 --- a/tests/auto/widgets/kernel/qapplication/test/test.pro +++ /dev/null @@ -1,28 +0,0 @@ -CONFIG += testcase - -QT += widgets widgets-private testlib -QT += core-private gui-private - -SOURCES += ../tst_qapplication.cpp - -builtin_testdata: DEFINES += BUILTIN_TESTDATA - -TESTDATA = ../test/test.pro ../tmp/README ../modal - -!android: SUBPROGRAMS = desktopsettingsaware modal - -debug_and_release { - CONFIG(debug, debug|release) { - TARGET = ../../debug/tst_qapplication - !android: TEST_HELPER_INSTALLS = ../debug/helper - for(file, SUBPROGRAMS): TEST_HELPER_INSTALLS += "../debug/$${file}" - } else { - TARGET = ../../release/tst_qapplication - !android: TEST_HELPER_INSTALLS = ../release/helper - for(file, SUBPROGRAMS): TEST_HELPER_INSTALLS += "../release/$${file}" - } -} else { - TARGET = ../tst_qapplication - !android: TEST_HELPER_INSTALLS = ../helper - for(file, SUBPROGRAMS): TEST_HELPER_INSTALLS += "../$${file}" -} diff --git a/tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp b/tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp index 46ccc0c662..00e6adbc32 100644 --- a/tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp +++ b/tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp @@ -924,9 +924,9 @@ bool isPathListIncluded(const QStringList &l, const QStringList &r) void tst_QApplication::libraryPaths() { #ifndef BUILTIN_TESTDATA - const QString testDir = QFileInfo(QFINDTESTDATA("test/test.pro")).absolutePath(); + const QString testDir = QFileInfo(QFINDTESTDATA("test/CMakeLists.txt")).absolutePath(); #else - const QString testDir = QFileInfo(QFINDTESTDATA("test.pro")).absolutePath(); + const QString testDir = QFileInfo(QFINDTESTDATA("CMakeLists.txt")).absolutePath(); #endif QVERIFY(!testDir.isEmpty()); { -- cgit v1.2.3