migrate: Qt5/C++11 app to Qt6/C++23 with tests and modern Qt APIs
qt-migration-copilot-demo/pipeline/head There was a failure building this commit
qt-migration-copilot-demo/pipeline/head There was a failure building this commit
Entire-Checkpoint: c1ee98dc34a3
This commit is contained in:
78 files changed
+22627
-1
No files matched your search
@@ -0,0 +1,33 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
project(Qt6MigratedBenchmarkTests LANGUAGES CXX)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 23)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets Test)
|
||||
|
||||
add_executable(main_test
|
||||
main_test.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(main_test PRIVATE
|
||||
Qt6::Core
|
||||
Qt6::Gui
|
||||
Qt6::Widgets
|
||||
Qt6::Test
|
||||
)
|
||||
|
||||
add_test(NAME main_test COMMAND main_test)
|
||||
|
||||
add_executable(MainWindow_test
|
||||
MainWindow_test.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(MainWindow_test PRIVATE
|
||||
Qt6::Core
|
||||
Qt6::Gui
|
||||
Qt6::Widgets
|
||||
Qt6::Test
|
||||
)
|
||||
|
||||
add_test(NAME MainWindow_test COMMAND MainWindow_test)
|
||||
Reference in new issue
Block a user