CMake build: Use version-less Qt targets

Since we do not support Qt < 5.15 anymore, and as a first step
for getting rid of our special FindQt5.cmake.

Change-Id: Icc5dbaf9b0a3a622b1f609ff114b9decb6d2856c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Eike Ziller
2022-12-20 17:31:22 +01:00
parent 894685d501
commit 55fa109b59
105 changed files with 184 additions and 181 deletions

View File

@@ -92,7 +92,7 @@ add_qtc_test(tst_mesonwrapper
INCLUDES
BEFORE "."
DEPENDS
Qt5::Core Qt5::Test Core
Qt::Core Qt::Test Core
Utils
DEFINES
MESON_SAMPLES_DIR="${CMAKE_CURRENT_SOURCE_DIR}/tests/resources"
@@ -113,7 +113,7 @@ add_qtc_test(tst_mesoninfoparser
INCLUDES
BEFORE "."
DEPENDS
Qt5::Core Qt5::Test Core
Qt::Core Qt::Test Core
Utils
DEFINES
MESON_SAMPLES_DIR="${CMAKE_CURRENT_SOURCE_DIR}/tests/resources"
@@ -134,7 +134,7 @@ add_qtc_test(tst_ninjaparser
INCLUDES
BEFORE "."
DEPENDS
Qt5::Core Qt5::Test Core
Qt::Core Qt::Test Core
Utils ProjectExplorer
SOURCES
tests/testninjaparser.cpp
@@ -147,7 +147,7 @@ add_qtc_test(tst_mesonparser
DEFINES
MESONPARSER_DISABLE_TASKS_FOR_TESTS
DEPENDS
Qt5::Core Qt5::Test Core
Qt::Core Qt::Test Core
Utils ProjectExplorer
SOURCES
tests/testmesonparser.cpp