diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-16 16:26:43 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-20 09:13:25 +0200 |
commit | 294c917b7e9c5cf6b3f88b62c9d6c200a205d07e (patch) | |
tree | f9415634092828759952f5ba7247376c3144cf85 /examples/linguist | |
parent | 8a5938b33a05e2cb4ead7114c90f3a9f5a473874 (diff) |
CMake: Regenerate examples to use qt_add_executable
Task-number: QTBUG-87661
Change-Id: I06af51591b79f9432d09b08595f8af021118a6dc
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
Diffstat (limited to 'examples/linguist')
-rw-r--r-- | examples/linguist/arrowpad/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/linguist/hellotr/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/linguist/trollprint/CMakeLists.txt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/linguist/arrowpad/CMakeLists.txt b/examples/linguist/arrowpad/CMakeLists.txt index 4781947e2..e2fdf489e 100644 --- a/examples/linguist/arrowpad/CMakeLists.txt +++ b/examples/linguist/arrowpad/CMakeLists.txt @@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Widgets) -add_qt_gui_executable(arrowpad +qt_add_executable(arrowpad arrowpad.cpp arrowpad.h main.cpp mainwindow.cpp mainwindow.h diff --git a/examples/linguist/hellotr/CMakeLists.txt b/examples/linguist/hellotr/CMakeLists.txt index 2d532895f..06ad4c18b 100644 --- a/examples/linguist/hellotr/CMakeLists.txt +++ b/examples/linguist/hellotr/CMakeLists.txt @@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Widgets) -add_qt_gui_executable(hellotr +qt_add_executable(hellotr main.cpp ) target_link_libraries(hellotr PUBLIC diff --git a/examples/linguist/trollprint/CMakeLists.txt b/examples/linguist/trollprint/CMakeLists.txt index 6ad0d6837..74b93af9b 100644 --- a/examples/linguist/trollprint/CMakeLists.txt +++ b/examples/linguist/trollprint/CMakeLists.txt @@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Widgets) -add_qt_gui_executable(trollprint +qt_add_executable(trollprint main.cpp mainwindow.cpp mainwindow.h printpanel.cpp printpanel.h |