diff options
| author | Alexandru Croitor <[email protected]> | 2020-10-16 11:55:24 +0200 |
|---|---|---|
| committer | Alexandru Croitor <[email protected]> | 2020-10-19 11:51:47 +0200 |
| commit | 2ffbac7cb2f16ab350d203a12a86535772d1c578 (patch) | |
| tree | 6c75c04df8ddfdf9c466647858538ea9fa3b925b /examples/qtconcurrent | |
| parent | c3fee0d984e59cee3ab6d069011015dd850be98f (diff) | |
CMake: Regenerate examples to use qt_add_executable
Task-number: QTBUG-87661
Change-Id: I0dacfdc97a3fb7d88da85b67800f2c1b084d869b
Reviewed-by: Joerg Bornemann <[email protected]>
Diffstat (limited to 'examples/qtconcurrent')
| -rw-r--r-- | examples/qtconcurrent/imagescaling/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | examples/qtconcurrent/map/.prev_CMakeLists.txt | 2 | ||||
| -rw-r--r-- | examples/qtconcurrent/map/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | examples/qtconcurrent/progressdialog/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | examples/qtconcurrent/runfunction/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | examples/qtconcurrent/wordcount/CMakeLists.txt | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/examples/qtconcurrent/imagescaling/CMakeLists.txt b/examples/qtconcurrent/imagescaling/CMakeLists.txt index 350261d0a40..8956f8a2a15 100644 --- a/examples/qtconcurrent/imagescaling/CMakeLists.txt +++ b/examples/qtconcurrent/imagescaling/CMakeLists.txt @@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Concurrent) find_package(Qt6 COMPONENTS Widgets) -add_qt_gui_executable(imagescaling +qt_add_executable(imagescaling imagescaling.cpp imagescaling.h main.cpp ) diff --git a/examples/qtconcurrent/map/.prev_CMakeLists.txt b/examples/qtconcurrent/map/.prev_CMakeLists.txt index 65ff5ad455e..5ab5b093a4a 100644 --- a/examples/qtconcurrent/map/.prev_CMakeLists.txt +++ b/examples/qtconcurrent/map/.prev_CMakeLists.txt @@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Concurrent) -add_executable(mapdemo +qt_add_executable(mapdemo main.cpp ) target_link_libraries(mapdemo PUBLIC diff --git a/examples/qtconcurrent/map/CMakeLists.txt b/examples/qtconcurrent/map/CMakeLists.txt index 8cf29e25b7a..3a977eeaafe 100644 --- a/examples/qtconcurrent/map/CMakeLists.txt +++ b/examples/qtconcurrent/map/CMakeLists.txt @@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Concurrent) -add_executable(mapdemo +qt_add_executable(mapdemo main.cpp ) target_link_libraries(mapdemo PUBLIC diff --git a/examples/qtconcurrent/progressdialog/CMakeLists.txt b/examples/qtconcurrent/progressdialog/CMakeLists.txt index f1c07b78245..d91ba64b913 100644 --- a/examples/qtconcurrent/progressdialog/CMakeLists.txt +++ b/examples/qtconcurrent/progressdialog/CMakeLists.txt @@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Concurrent) find_package(Qt6 COMPONENTS Widgets) -add_executable(progressdialog +qt_add_executable(progressdialog main.cpp ) target_link_libraries(progressdialog PUBLIC diff --git a/examples/qtconcurrent/runfunction/CMakeLists.txt b/examples/qtconcurrent/runfunction/CMakeLists.txt index 088d23c32b1..ffd5b904c92 100644 --- a/examples/qtconcurrent/runfunction/CMakeLists.txt +++ b/examples/qtconcurrent/runfunction/CMakeLists.txt @@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Concurrent) find_package(Qt6 COMPONENTS Widgets) -add_executable(runfunction +qt_add_executable(runfunction main.cpp ) target_link_libraries(runfunction PUBLIC diff --git a/examples/qtconcurrent/wordcount/CMakeLists.txt b/examples/qtconcurrent/wordcount/CMakeLists.txt index 440b3139262..b3636fca761 100644 --- a/examples/qtconcurrent/wordcount/CMakeLists.txt +++ b/examples/qtconcurrent/wordcount/CMakeLists.txt @@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Concurrent) find_package(Qt6 COMPONENTS Widgets) -add_executable(wordcount +qt_add_executable(wordcount main.cpp ) target_link_libraries(wordcount PUBLIC |
