diff options
author | Kai Köhne <kai.koehne@qt.io> | 2022-11-14 14:49:32 +0100 |
---|---|---|
committer | Kai Köhne <kai.koehne@qt.io> | 2022-11-17 19:59:11 +0100 |
commit | bec264c15fe07382009def3c4bbef3f3b689b6eb (patch) | |
tree | 2335b779fc09463522ff5356cd2c152ff64d603f /examples/widgets/tools | |
parent | 9e251d44a79e171f093e89b21215d7372866ef4c (diff) |
Examples: Use Qt6:: to qualify Qt CMake packages
This is what we promote also in the documentation.
Change-Id: If91aebafe861b0c934acbb2c69afd182abc3345d
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/widgets/tools')
14 files changed, 40 insertions, 40 deletions
diff --git a/examples/widgets/tools/completer/CMakeLists.txt b/examples/widgets/tools/completer/CMakeLists.txt index fe805ed943..5f7c03f104 100644 --- a/examples/widgets/tools/completer/CMakeLists.txt +++ b/examples/widgets/tools/completer/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(completer PROPERTIES ) target_link_libraries(completer PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/tools/customcompleter/CMakeLists.txt b/examples/widgets/tools/customcompleter/CMakeLists.txt index 82a3df1fa3..37b8d18c32 100644 --- a/examples/widgets/tools/customcompleter/CMakeLists.txt +++ b/examples/widgets/tools/customcompleter/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(customcompleter PROPERTIES ) target_link_libraries(customcompleter PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt b/examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt index d238b5c1c0..728e6d4856 100644 --- a/examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt +++ b/examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt @@ -13,9 +13,9 @@ set_target_properties(echopluginwindow PROPERTIES ) target_link_libraries(echopluginwindow PRIVATE - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) if(NOT QT6_IS_SHARED_LIBS_BUILD) diff --git a/examples/widgets/tools/echoplugin/plugin/CMakeLists.txt b/examples/widgets/tools/echoplugin/plugin/CMakeLists.txt index f4ee5f87e7..243d653177 100644 --- a/examples/widgets/tools/echoplugin/plugin/CMakeLists.txt +++ b/examples/widgets/tools/echoplugin/plugin/CMakeLists.txt @@ -15,9 +15,9 @@ target_include_directories(echoplugin PUBLIC ) target_link_libraries(echoplugin PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS echoplugin diff --git a/examples/widgets/tools/plugandpaint/app/CMakeLists.txt b/examples/widgets/tools/plugandpaint/app/CMakeLists.txt index 04b6bb16de..5ab3171284 100644 --- a/examples/widgets/tools/plugandpaint/app/CMakeLists.txt +++ b/examples/widgets/tools/plugandpaint/app/CMakeLists.txt @@ -15,7 +15,7 @@ set_target_properties(plugandpaint PROPERTIES ) target_link_libraries(plugandpaint PRIVATE - Qt::Widgets + Qt6::Widgets pnp_basictools ) diff --git a/examples/widgets/tools/plugandpaint/plugins/basictools/CMakeLists.txt b/examples/widgets/tools/plugandpaint/plugins/basictools/CMakeLists.txt index f1ef16085e..77bb2fd1c2 100644 --- a/examples/widgets/tools/plugandpaint/plugins/basictools/CMakeLists.txt +++ b/examples/widgets/tools/plugandpaint/plugins/basictools/CMakeLists.txt @@ -12,7 +12,7 @@ target_include_directories(pnp_basictools PUBLIC ) target_link_libraries(pnp_basictools PRIVATE - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) diff --git a/examples/widgets/tools/plugandpaint/plugins/extrafilters/CMakeLists.txt b/examples/widgets/tools/plugandpaint/plugins/extrafilters/CMakeLists.txt index 17e71d4d29..6568de9bee 100644 --- a/examples/widgets/tools/plugandpaint/plugins/extrafilters/CMakeLists.txt +++ b/examples/widgets/tools/plugandpaint/plugins/extrafilters/CMakeLists.txt @@ -15,9 +15,9 @@ target_include_directories(pnp_extrafilters PUBLIC ) target_link_libraries(pnp_extrafilters PRIVATE - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS pnp_extrafilters diff --git a/examples/widgets/tools/regularexpression/CMakeLists.txt b/examples/widgets/tools/regularexpression/CMakeLists.txt index d745a36b84..7049949ef7 100644 --- a/examples/widgets/tools/regularexpression/CMakeLists.txt +++ b/examples/widgets/tools/regularexpression/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(regularexpression PROPERTIES ) target_link_libraries(regularexpression PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/tools/settingseditor/CMakeLists.txt b/examples/widgets/tools/settingseditor/CMakeLists.txt index f45c61b350..e44395361d 100644 --- a/examples/widgets/tools/settingseditor/CMakeLists.txt +++ b/examples/widgets/tools/settingseditor/CMakeLists.txt @@ -28,9 +28,9 @@ set_target_properties(settingseditor PROPERTIES ) target_link_libraries(settingseditor PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS settingseditor diff --git a/examples/widgets/tools/styleplugin/plugin/CMakeLists.txt b/examples/widgets/tools/styleplugin/plugin/CMakeLists.txt index aa191b2827..41df10c578 100644 --- a/examples/widgets/tools/styleplugin/plugin/CMakeLists.txt +++ b/examples/widgets/tools/styleplugin/plugin/CMakeLists.txt @@ -12,9 +12,9 @@ set_target_properties(simplestyleplugin PROPERTIES ) target_link_libraries(simplestyleplugin PRIVATE - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS simplestyleplugin diff --git a/examples/widgets/tools/styleplugin/stylewindow/CMakeLists.txt b/examples/widgets/tools/styleplugin/stylewindow/CMakeLists.txt index be69b98e1c..3c1ac7670f 100644 --- a/examples/widgets/tools/styleplugin/stylewindow/CMakeLists.txt +++ b/examples/widgets/tools/styleplugin/stylewindow/CMakeLists.txt @@ -12,9 +12,9 @@ set_target_properties(styleplugin PROPERTIES ) target_link_libraries(styleplugin PRIVATE - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) if(NOT QT6_IS_SHARED_LIBS_BUILD) diff --git a/examples/widgets/tools/treemodelcompleter/CMakeLists.txt b/examples/widgets/tools/treemodelcompleter/CMakeLists.txt index f4b27ea7a1..54ef9aac94 100644 --- a/examples/widgets/tools/treemodelcompleter/CMakeLists.txt +++ b/examples/widgets/tools/treemodelcompleter/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(treemodelcompleter PROPERTIES ) target_link_libraries(treemodelcompleter PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/tools/undo/CMakeLists.txt b/examples/widgets/tools/undo/CMakeLists.txt index 80b7ccc4e7..17b6ee7931 100644 --- a/examples/widgets/tools/undo/CMakeLists.txt +++ b/examples/widgets/tools/undo/CMakeLists.txt @@ -30,9 +30,9 @@ set_target_properties(undo PROPERTIES ) target_link_libraries(undo PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/tools/undoframework/CMakeLists.txt b/examples/widgets/tools/undoframework/CMakeLists.txt index 6a20234c02..0dca360cb8 100644 --- a/examples/widgets/tools/undoframework/CMakeLists.txt +++ b/examples/widgets/tools/undoframework/CMakeLists.txt @@ -28,9 +28,9 @@ set_target_properties(undoframework PROPERTIES ) target_link_libraries(undoframework PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: |