From e9a328bc0e56b429a370b13c8e0b4790916cebde Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Tue, 7 Jul 2020 18:01:06 +0200 Subject: CMake: Regenerate tests with new qt_ prefixed APIs Use pro2cmake with '--api-version 2' to force regenerate projects to use the new prefixed qt_foo APIs. Change-Id: I055c4837860319e93aaa6b09d646dda4fc2a4069 Reviewed-by: Joerg Bornemann --- tests/auto/sql/models/qsqlquerymodel/CMakeLists.txt | 2 +- tests/auto/sql/models/qsqlrelationaldelegate/CMakeLists.txt | 2 +- tests/auto/sql/models/qsqlrelationaltablemodel/CMakeLists.txt | 2 +- tests/auto/sql/models/qsqltablemodel/CMakeLists.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/auto/sql/models') diff --git a/tests/auto/sql/models/qsqlquerymodel/CMakeLists.txt b/tests/auto/sql/models/qsqlquerymodel/CMakeLists.txt index f2da569f8f..75ce0fb6bc 100644 --- a/tests/auto/sql/models/qsqlquerymodel/CMakeLists.txt +++ b/tests/auto/sql/models/qsqlquerymodel/CMakeLists.txt @@ -4,7 +4,7 @@ ## tst_qsqlquerymodel Test: ##################################################################### -add_qt_test(tst_qsqlquerymodel +qt_add_test(tst_qsqlquerymodel SOURCES tst_qsqlquerymodel.cpp PUBLIC_LIBRARIES diff --git a/tests/auto/sql/models/qsqlrelationaldelegate/CMakeLists.txt b/tests/auto/sql/models/qsqlrelationaldelegate/CMakeLists.txt index caadae1df5..ce7f129a91 100644 --- a/tests/auto/sql/models/qsqlrelationaldelegate/CMakeLists.txt +++ b/tests/auto/sql/models/qsqlrelationaldelegate/CMakeLists.txt @@ -4,7 +4,7 @@ ## tst_qsqlrelationaldelegate Test: ##################################################################### -add_qt_test(tst_qsqlrelationaldelegate +qt_add_test(tst_qsqlrelationaldelegate SOURCES tst_qsqlrelationaldelegate.cpp PUBLIC_LIBRARIES diff --git a/tests/auto/sql/models/qsqlrelationaltablemodel/CMakeLists.txt b/tests/auto/sql/models/qsqlrelationaltablemodel/CMakeLists.txt index f695a6173e..67aad097bb 100644 --- a/tests/auto/sql/models/qsqlrelationaltablemodel/CMakeLists.txt +++ b/tests/auto/sql/models/qsqlrelationaltablemodel/CMakeLists.txt @@ -4,7 +4,7 @@ ## tst_qsqlrelationaltablemodel Test: ##################################################################### -add_qt_test(tst_qsqlrelationaltablemodel +qt_add_test(tst_qsqlrelationaltablemodel SOURCES tst_qsqlrelationaltablemodel.cpp PUBLIC_LIBRARIES diff --git a/tests/auto/sql/models/qsqltablemodel/CMakeLists.txt b/tests/auto/sql/models/qsqltablemodel/CMakeLists.txt index f3e703591f..1da555d341 100644 --- a/tests/auto/sql/models/qsqltablemodel/CMakeLists.txt +++ b/tests/auto/sql/models/qsqltablemodel/CMakeLists.txt @@ -4,7 +4,7 @@ ## tst_qsqltablemodel Test: ##################################################################### -add_qt_test(tst_qsqltablemodel +qt_add_test(tst_qsqltablemodel SOURCES tst_qsqltablemodel.cpp PUBLIC_LIBRARIES -- cgit v1.2.3