From bec264c15fe07382009def3c4bbef3f3b689b6eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Mon, 14 Nov 2022 14:49:32 +0100 Subject: Examples: Use Qt6:: to qualify Qt CMake packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is what we promote also in the documentation. Change-Id: If91aebafe861b0c934acbb2c69afd182abc3345d Reviewed-by: Jörg Bornemann --- examples/widgets/CMakeLists.txt | 4 ++-- examples/widgets/animation/easing/CMakeLists.txt | 6 +++--- examples/widgets/desktop/screenshot/CMakeLists.txt | 6 +++--- examples/widgets/desktop/systray/CMakeLists.txt | 6 +++--- examples/widgets/dialogs/CMakeLists.txt | 2 +- examples/widgets/dialogs/classwizard/CMakeLists.txt | 6 +++--- examples/widgets/dialogs/extension/CMakeLists.txt | 6 +++--- examples/widgets/dialogs/findfiles/CMakeLists.txt | 6 +++--- examples/widgets/dialogs/licensewizard/CMakeLists.txt | 8 ++++---- examples/widgets/dialogs/standarddialogs/CMakeLists.txt | 6 +++--- examples/widgets/dialogs/tabdialog/CMakeLists.txt | 6 +++--- examples/widgets/dialogs/trivialwizard/CMakeLists.txt | 6 +++--- examples/widgets/draganddrop/draggableicons/CMakeLists.txt | 6 +++--- examples/widgets/draganddrop/draggabletext/CMakeLists.txt | 6 +++--- examples/widgets/draganddrop/dropsite/CMakeLists.txt | 6 +++--- examples/widgets/draganddrop/fridgemagnets/CMakeLists.txt | 6 +++--- examples/widgets/draganddrop/puzzle/CMakeLists.txt | 6 +++--- examples/widgets/effects/blurpicker/CMakeLists.txt | 6 +++--- examples/widgets/effects/fademessage/CMakeLists.txt | 6 +++--- examples/widgets/gallery/CMakeLists.txt | 6 +++--- examples/widgets/gestures/CMakeLists.txt | 2 +- examples/widgets/gestures/imagegestures/CMakeLists.txt | 6 +++--- examples/widgets/graphicsview/anchorlayout/CMakeLists.txt | 6 +++--- .../graphicsview/basicgraphicslayouts/CMakeLists.txt | 6 +++--- examples/widgets/graphicsview/chip/CMakeLists.txt | 10 +++++----- examples/widgets/graphicsview/collidingmice/CMakeLists.txt | 6 +++--- examples/widgets/graphicsview/diagramscene/CMakeLists.txt | 6 +++--- examples/widgets/graphicsview/dragdroprobot/CMakeLists.txt | 6 +++--- examples/widgets/graphicsview/elasticnodes/CMakeLists.txt | 6 +++--- .../widgets/graphicsview/embeddeddialogs/CMakeLists.txt | 6 +++--- examples/widgets/graphicsview/flowlayout/CMakeLists.txt | 6 +++--- .../widgets/graphicsview/simpleanchorlayout/CMakeLists.txt | 6 +++--- .../graphicsview/weatheranchorlayout/CMakeLists.txt | 6 +++--- examples/widgets/itemviews/CMakeLists.txt | 2 +- examples/widgets/itemviews/addressbook/CMakeLists.txt | 6 +++--- .../widgets/itemviews/basicsortfiltermodel/CMakeLists.txt | 6 +++--- examples/widgets/itemviews/chart/CMakeLists.txt | 6 +++--- .../widgets/itemviews/coloreditorfactory/CMakeLists.txt | 6 +++--- .../widgets/itemviews/combowidgetmapper/CMakeLists.txt | 6 +++--- .../widgets/itemviews/customsortfiltermodel/CMakeLists.txt | 6 +++--- examples/widgets/itemviews/dirview/CMakeLists.txt | 6 +++--- .../widgets/itemviews/editabletreemodel/CMakeLists.txt | 6 +++--- examples/widgets/itemviews/fetchmore/CMakeLists.txt | 6 +++--- examples/widgets/itemviews/flattreeview/CMakeLists.txt | 6 +++--- examples/widgets/itemviews/frozencolumn/CMakeLists.txt | 6 +++--- examples/widgets/itemviews/interview/CMakeLists.txt | 6 +++--- examples/widgets/itemviews/pixelator/CMakeLists.txt | 10 +++++----- examples/widgets/itemviews/puzzle/CMakeLists.txt | 6 +++--- examples/widgets/itemviews/simpledommodel/CMakeLists.txt | 8 ++++---- examples/widgets/itemviews/simpletreemodel/CMakeLists.txt | 6 +++--- .../widgets/itemviews/simplewidgetmapper/CMakeLists.txt | 6 +++--- examples/widgets/itemviews/spinboxdelegate/CMakeLists.txt | 6 +++--- examples/widgets/itemviews/spreadsheet/CMakeLists.txt | 14 +++++++------- examples/widgets/itemviews/stardelegate/CMakeLists.txt | 6 +++--- examples/widgets/itemviews/storageview/CMakeLists.txt | 6 +++--- examples/widgets/layouts/basiclayouts/CMakeLists.txt | 6 +++--- examples/widgets/layouts/borderlayout/CMakeLists.txt | 6 +++--- examples/widgets/layouts/dynamiclayouts/CMakeLists.txt | 6 +++--- examples/widgets/layouts/flowlayout/CMakeLists.txt | 6 +++--- examples/widgets/mainwindows/application/CMakeLists.txt | 6 +++--- examples/widgets/mainwindows/dockwidgets/CMakeLists.txt | 14 +++++++------- examples/widgets/mainwindows/mainwindow/CMakeLists.txt | 6 +++--- examples/widgets/mainwindows/mdi/CMakeLists.txt | 6 +++--- examples/widgets/mainwindows/menus/CMakeLists.txt | 6 +++--- examples/widgets/mainwindows/sdi/CMakeLists.txt | 6 +++--- examples/widgets/painting/affine/CMakeLists.txt | 8 ++++---- examples/widgets/painting/basicdrawing/CMakeLists.txt | 6 +++--- examples/widgets/painting/composition/CMakeLists.txt | 8 ++++---- examples/widgets/painting/concentriccircles/CMakeLists.txt | 6 +++--- examples/widgets/painting/deform/CMakeLists.txt | 8 ++++---- examples/widgets/painting/fontsampler/CMakeLists.txt | 10 +++++----- examples/widgets/painting/gradients/CMakeLists.txt | 8 ++++---- examples/widgets/painting/imagecomposition/CMakeLists.txt | 6 +++--- examples/widgets/painting/painterpaths/CMakeLists.txt | 6 +++--- examples/widgets/painting/pathstroke/CMakeLists.txt | 8 ++++---- examples/widgets/painting/shared/CMakeLists.txt | 6 +++--- examples/widgets/painting/transformations/CMakeLists.txt | 6 +++--- examples/widgets/richtext/calendar/CMakeLists.txt | 6 +++--- examples/widgets/richtext/orderform/CMakeLists.txt | 10 +++++----- examples/widgets/richtext/syntaxhighlighter/CMakeLists.txt | 6 +++--- examples/widgets/richtext/textedit/CMakeLists.txt | 14 +++++++------- examples/widgets/scroller/graphicsview/CMakeLists.txt | 6 +++--- examples/widgets/tools/completer/CMakeLists.txt | 6 +++--- examples/widgets/tools/customcompleter/CMakeLists.txt | 6 +++--- .../widgets/tools/echoplugin/echowindow/CMakeLists.txt | 6 +++--- examples/widgets/tools/echoplugin/plugin/CMakeLists.txt | 6 +++--- examples/widgets/tools/plugandpaint/app/CMakeLists.txt | 2 +- .../tools/plugandpaint/plugins/basictools/CMakeLists.txt | 6 +++--- .../tools/plugandpaint/plugins/extrafilters/CMakeLists.txt | 6 +++--- examples/widgets/tools/regularexpression/CMakeLists.txt | 6 +++--- examples/widgets/tools/settingseditor/CMakeLists.txt | 6 +++--- examples/widgets/tools/styleplugin/plugin/CMakeLists.txt | 6 +++--- .../widgets/tools/styleplugin/stylewindow/CMakeLists.txt | 6 +++--- examples/widgets/tools/treemodelcompleter/CMakeLists.txt | 6 +++--- examples/widgets/tools/undo/CMakeLists.txt | 6 +++--- examples/widgets/tools/undoframework/CMakeLists.txt | 6 +++--- examples/widgets/touch/CMakeLists.txt | 2 +- examples/widgets/touch/dials/CMakeLists.txt | 6 +++--- examples/widgets/touch/fingerpaint/CMakeLists.txt | 14 +++++++------- examples/widgets/touch/knobs/CMakeLists.txt | 6 +++--- examples/widgets/touch/pinchzoom/CMakeLists.txt | 6 +++--- .../widgets/tutorials/addressbook/part1/CMakeLists.txt | 6 +++--- .../widgets/tutorials/addressbook/part2/CMakeLists.txt | 6 +++--- .../widgets/tutorials/addressbook/part3/CMakeLists.txt | 6 +++--- .../widgets/tutorials/addressbook/part4/CMakeLists.txt | 6 +++--- .../widgets/tutorials/addressbook/part5/CMakeLists.txt | 6 +++--- .../widgets/tutorials/addressbook/part6/CMakeLists.txt | 6 +++--- .../widgets/tutorials/addressbook/part7/CMakeLists.txt | 6 +++--- .../tutorials/gettingStarted/gsQt/part1/CMakeLists.txt | 6 +++--- .../tutorials/gettingStarted/gsQt/part2/CMakeLists.txt | 6 +++--- .../tutorials/gettingStarted/gsQt/part3/CMakeLists.txt | 6 +++--- .../tutorials/gettingStarted/gsQt/part4/CMakeLists.txt | 6 +++--- .../tutorials/gettingStarted/gsQt/part5/CMakeLists.txt | 6 +++--- .../widgets/tutorials/modelview/1_readonly/CMakeLists.txt | 6 +++--- .../tutorials/modelview/2_formatting/CMakeLists.txt | 6 +++--- .../tutorials/modelview/3_changingmodel/CMakeLists.txt | 6 +++--- .../widgets/tutorials/modelview/4_headers/CMakeLists.txt | 6 +++--- examples/widgets/tutorials/modelview/5_edit/CMakeLists.txt | 6 +++--- .../widgets/tutorials/modelview/6_treeview/CMakeLists.txt | 6 +++--- .../tutorials/modelview/7_selections/CMakeLists.txt | 6 +++--- examples/widgets/tutorials/notepad/CMakeLists.txt | 10 +++++----- .../widgets/tutorials/widgets/childwidget/CMakeLists.txt | 6 +++--- .../widgets/tutorials/widgets/nestedlayouts/CMakeLists.txt | 6 +++--- examples/widgets/tutorials/widgets/toplevel/CMakeLists.txt | 6 +++--- .../widgets/tutorials/widgets/windowlayout/CMakeLists.txt | 6 +++--- examples/widgets/widgets/analogclock/CMakeLists.txt | 6 +++--- examples/widgets/widgets/calculator/CMakeLists.txt | 6 +++--- examples/widgets/widgets/calendarwidget/CMakeLists.txt | 6 +++--- examples/widgets/widgets/charactermap/CMakeLists.txt | 6 +++--- examples/widgets/widgets/codeeditor/CMakeLists.txt | 6 +++--- examples/widgets/widgets/digitalclock/CMakeLists.txt | 6 +++--- examples/widgets/widgets/elidedlabel/CMakeLists.txt | 6 +++--- examples/widgets/widgets/groupbox/CMakeLists.txt | 6 +++--- examples/widgets/widgets/icons/CMakeLists.txt | 6 +++--- examples/widgets/widgets/imageviewer/CMakeLists.txt | 14 +++++++------- examples/widgets/widgets/lineedits/CMakeLists.txt | 6 +++--- examples/widgets/widgets/mousebuttons/CMakeLists.txt | 6 +++--- examples/widgets/widgets/movie/CMakeLists.txt | 6 +++--- examples/widgets/widgets/scribble/CMakeLists.txt | 14 +++++++------- examples/widgets/widgets/shapedclock/CMakeLists.txt | 6 +++--- examples/widgets/widgets/shortcuteditor/CMakeLists.txt | 6 +++--- examples/widgets/widgets/sliders/CMakeLists.txt | 6 +++--- examples/widgets/widgets/spinboxes/CMakeLists.txt | 6 +++--- examples/widgets/widgets/styles/CMakeLists.txt | 6 +++--- examples/widgets/widgets/stylesheet/CMakeLists.txt | 6 +++--- examples/widgets/widgets/tablet/CMakeLists.txt | 6 +++--- examples/widgets/widgets/tetrix/CMakeLists.txt | 6 +++--- examples/widgets/widgets/tooltips/CMakeLists.txt | 6 +++--- examples/widgets/widgets/validators/CMakeLists.txt | 6 +++--- examples/widgets/widgets/wiggly/CMakeLists.txt | 6 +++--- examples/widgets/widgets/windowflags/CMakeLists.txt | 6 +++--- examples/widgets/windowcontainer/CMakeLists.txt | 8 ++++---- 152 files changed, 487 insertions(+), 487 deletions(-) (limited to 'examples/widgets') diff --git a/examples/widgets/CMakeLists.txt b/examples/widgets/CMakeLists.txt index 020cb9719e..315865b841 100644 --- a/examples/widgets/CMakeLists.txt +++ b/examples/widgets/CMakeLists.txt @@ -1,7 +1,7 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -if(NOT TARGET Qt::Widgets) +if(NOT TARGET Qt6::Widgets) return() endif() if(QT_FEATURE_animation) @@ -28,6 +28,6 @@ endif() if(QT_FEATURE_cursor) add_subdirectory(mainwindows) endif() -if(QT_FEATURE_opengl AND TARGET Qt::Gui) +if(QT_FEATURE_opengl AND TARGET Qt6::Gui) qt_internal_add_example(windowcontainer) endif() diff --git a/examples/widgets/animation/easing/CMakeLists.txt b/examples/widgets/animation/easing/CMakeLists.txt index 3549ca73c2..ea108ab27a 100644 --- a/examples/widgets/animation/easing/CMakeLists.txt +++ b/examples/widgets/animation/easing/CMakeLists.txt @@ -28,9 +28,9 @@ set_target_properties(easing PROPERTIES ) target_link_libraries(easing PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/desktop/screenshot/CMakeLists.txt b/examples/widgets/desktop/screenshot/CMakeLists.txt index da6c858450..6f830ce98b 100644 --- a/examples/widgets/desktop/screenshot/CMakeLists.txt +++ b/examples/widgets/desktop/screenshot/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(screenshot PROPERTIES ) target_link_libraries(screenshot PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS screenshot diff --git a/examples/widgets/desktop/systray/CMakeLists.txt b/examples/widgets/desktop/systray/CMakeLists.txt index cb9b792278..69030df07e 100644 --- a/examples/widgets/desktop/systray/CMakeLists.txt +++ b/examples/widgets/desktop/systray/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(systray PROPERTIES ) target_link_libraries(systray PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/dialogs/CMakeLists.txt b/examples/widgets/dialogs/CMakeLists.txt index 0298fba4f7..bb966b485a 100644 --- a/examples/widgets/dialogs/CMakeLists.txt +++ b/examples/widgets/dialogs/CMakeLists.txt @@ -9,6 +9,6 @@ qt_internal_add_example(extension) qt_internal_add_example(findfiles) qt_internal_add_example(standarddialogs) qt_internal_add_example(tabdialog) -if(QT_FEATURE_wizard AND TARGET Qt::PrintSupport) +if(QT_FEATURE_wizard AND TARGET Qt6::PrintSupport) qt_internal_add_example(licensewizard) endif() diff --git a/examples/widgets/dialogs/classwizard/CMakeLists.txt b/examples/widgets/dialogs/classwizard/CMakeLists.txt index 54de6408f2..153394caa0 100644 --- a/examples/widgets/dialogs/classwizard/CMakeLists.txt +++ b/examples/widgets/dialogs/classwizard/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(classwizard PROPERTIES ) target_link_libraries(classwizard PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/dialogs/extension/CMakeLists.txt b/examples/widgets/dialogs/extension/CMakeLists.txt index 96eab547c6..8a3b53781d 100644 --- a/examples/widgets/dialogs/extension/CMakeLists.txt +++ b/examples/widgets/dialogs/extension/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(extension PROPERTIES ) target_link_libraries(extension PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS extension diff --git a/examples/widgets/dialogs/findfiles/CMakeLists.txt b/examples/widgets/dialogs/findfiles/CMakeLists.txt index d1c70dc145..b4c3ef0f37 100644 --- a/examples/widgets/dialogs/findfiles/CMakeLists.txt +++ b/examples/widgets/dialogs/findfiles/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(findfiles PROPERTIES ) target_link_libraries(findfiles PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS findfiles diff --git a/examples/widgets/dialogs/licensewizard/CMakeLists.txt b/examples/widgets/dialogs/licensewizard/CMakeLists.txt index 5ba8321782..8a553b9dc5 100644 --- a/examples/widgets/dialogs/licensewizard/CMakeLists.txt +++ b/examples/widgets/dialogs/licensewizard/CMakeLists.txt @@ -25,10 +25,10 @@ set_target_properties(licensewizard PROPERTIES ) target_link_libraries(licensewizard PUBLIC - Qt::Core - Qt::Gui - Qt::PrintSupport - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::PrintSupport + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/dialogs/standarddialogs/CMakeLists.txt b/examples/widgets/dialogs/standarddialogs/CMakeLists.txt index ea502e0657..772b22fbc2 100644 --- a/examples/widgets/dialogs/standarddialogs/CMakeLists.txt +++ b/examples/widgets/dialogs/standarddialogs/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(standarddialogs PROPERTIES ) target_link_libraries(standarddialogs PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS standarddialogs diff --git a/examples/widgets/dialogs/tabdialog/CMakeLists.txt b/examples/widgets/dialogs/tabdialog/CMakeLists.txt index 27f6aa914d..b554c99e77 100644 --- a/examples/widgets/dialogs/tabdialog/CMakeLists.txt +++ b/examples/widgets/dialogs/tabdialog/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(tabdialog PROPERTIES ) target_link_libraries(tabdialog PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS tabdialog diff --git a/examples/widgets/dialogs/trivialwizard/CMakeLists.txt b/examples/widgets/dialogs/trivialwizard/CMakeLists.txt index b2621da35c..a127e1ce0d 100644 --- a/examples/widgets/dialogs/trivialwizard/CMakeLists.txt +++ b/examples/widgets/dialogs/trivialwizard/CMakeLists.txt @@ -24,9 +24,9 @@ set_target_properties(trivialwizard PROPERTIES ) target_link_libraries(trivialwizard PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS trivialwizard diff --git a/examples/widgets/draganddrop/draggableicons/CMakeLists.txt b/examples/widgets/draganddrop/draggableicons/CMakeLists.txt index 5bb08a593e..1d24d1b6e0 100644 --- a/examples/widgets/draganddrop/draggableicons/CMakeLists.txt +++ b/examples/widgets/draganddrop/draggableicons/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(draggableicons PROPERTIES ) target_link_libraries(draggableicons PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/draganddrop/draggabletext/CMakeLists.txt b/examples/widgets/draganddrop/draggabletext/CMakeLists.txt index aae64b7e23..a9781c4045 100644 --- a/examples/widgets/draganddrop/draggabletext/CMakeLists.txt +++ b/examples/widgets/draganddrop/draggabletext/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(draggabletext PROPERTIES ) target_link_libraries(draggabletext PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/draganddrop/dropsite/CMakeLists.txt b/examples/widgets/draganddrop/dropsite/CMakeLists.txt index 3fa7f2bb52..0cc80219b8 100644 --- a/examples/widgets/draganddrop/dropsite/CMakeLists.txt +++ b/examples/widgets/draganddrop/dropsite/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(dropsite PROPERTIES ) target_link_libraries(dropsite PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS dropsite diff --git a/examples/widgets/draganddrop/fridgemagnets/CMakeLists.txt b/examples/widgets/draganddrop/fridgemagnets/CMakeLists.txt index 67dc549c4a..afff8848b1 100644 --- a/examples/widgets/draganddrop/fridgemagnets/CMakeLists.txt +++ b/examples/widgets/draganddrop/fridgemagnets/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(fridgemagnets PROPERTIES ) target_link_libraries(fridgemagnets PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/draganddrop/puzzle/CMakeLists.txt b/examples/widgets/draganddrop/puzzle/CMakeLists.txt index a9231f3f9e..b281000776 100644 --- a/examples/widgets/draganddrop/puzzle/CMakeLists.txt +++ b/examples/widgets/draganddrop/puzzle/CMakeLists.txt @@ -27,9 +27,9 @@ set_target_properties(draganddrop_puzzle PROPERTIES ) target_link_libraries(draganddrop_puzzle PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/effects/blurpicker/CMakeLists.txt b/examples/widgets/effects/blurpicker/CMakeLists.txt index 4e4d404d2d..7a51e09c9c 100644 --- a/examples/widgets/effects/blurpicker/CMakeLists.txt +++ b/examples/widgets/effects/blurpicker/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(blurpicker PROPERTIES ) target_link_libraries(blurpicker PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/effects/fademessage/CMakeLists.txt b/examples/widgets/effects/fademessage/CMakeLists.txt index a5360dd197..5f271505e0 100644 --- a/examples/widgets/effects/fademessage/CMakeLists.txt +++ b/examples/widgets/effects/fademessage/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(fademessage PROPERTIES ) target_link_libraries(fademessage PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/gallery/CMakeLists.txt b/examples/widgets/gallery/CMakeLists.txt index 60a9dca662..782bdb0f56 100644 --- a/examples/widgets/gallery/CMakeLists.txt +++ b/examples/widgets/gallery/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(gallery PROPERTIES ) target_link_libraries(gallery PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS gallery diff --git a/examples/widgets/gestures/CMakeLists.txt b/examples/widgets/gestures/CMakeLists.txt index 9c58d0a3a2..c345cfed11 100644 --- a/examples/widgets/gestures/CMakeLists.txt +++ b/examples/widgets/gestures/CMakeLists.txt @@ -1,7 +1,7 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -if(NOT TARGET Qt::Widgets) +if(NOT TARGET Qt6::Widgets) return() endif() qt_internal_add_example(imagegestures) diff --git a/examples/widgets/gestures/imagegestures/CMakeLists.txt b/examples/widgets/gestures/imagegestures/CMakeLists.txt index c67355e1f1..71109cde10 100644 --- a/examples/widgets/gestures/imagegestures/CMakeLists.txt +++ b/examples/widgets/gestures/imagegestures/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(imagegestures PROPERTIES ) target_link_libraries(imagegestures PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS imagegestures diff --git a/examples/widgets/graphicsview/anchorlayout/CMakeLists.txt b/examples/widgets/graphicsview/anchorlayout/CMakeLists.txt index 1e5f7c0929..f6996d1852 100644 --- a/examples/widgets/graphicsview/anchorlayout/CMakeLists.txt +++ b/examples/widgets/graphicsview/anchorlayout/CMakeLists.txt @@ -24,9 +24,9 @@ set_target_properties(anchorlayout PROPERTIES ) target_link_libraries(anchorlayout PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS anchorlayout diff --git a/examples/widgets/graphicsview/basicgraphicslayouts/CMakeLists.txt b/examples/widgets/graphicsview/basicgraphicslayouts/CMakeLists.txt index b09d18c6c0..8e885195f3 100644 --- a/examples/widgets/graphicsview/basicgraphicslayouts/CMakeLists.txt +++ b/examples/widgets/graphicsview/basicgraphicslayouts/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(basicgraphicslayouts PROPERTIES ) target_link_libraries(basicgraphicslayouts PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/graphicsview/chip/CMakeLists.txt b/examples/widgets/graphicsview/chip/CMakeLists.txt index 96f80bfc7c..49243f9cab 100644 --- a/examples/widgets/graphicsview/chip/CMakeLists.txt +++ b/examples/widgets/graphicsview/chip/CMakeLists.txt @@ -30,9 +30,9 @@ set_target_properties(chip PROPERTIES ) target_link_libraries(chip PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: @@ -52,9 +52,9 @@ qt_add_resources(chip "images" ${images_resource_files} ) -if(TARGET Qt::PrintSupport) +if(TARGET Qt6::PrintSupport) target_link_libraries(chip PUBLIC - Qt::PrintSupport + Qt6::PrintSupport ) endif() diff --git a/examples/widgets/graphicsview/collidingmice/CMakeLists.txt b/examples/widgets/graphicsview/collidingmice/CMakeLists.txt index 8f09a96bd3..c7c6854f97 100644 --- a/examples/widgets/graphicsview/collidingmice/CMakeLists.txt +++ b/examples/widgets/graphicsview/collidingmice/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(collidingmice PROPERTIES ) target_link_libraries(collidingmice PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/graphicsview/diagramscene/CMakeLists.txt b/examples/widgets/graphicsview/diagramscene/CMakeLists.txt index 3eb908fad3..23831cc23a 100644 --- a/examples/widgets/graphicsview/diagramscene/CMakeLists.txt +++ b/examples/widgets/graphicsview/diagramscene/CMakeLists.txt @@ -29,9 +29,9 @@ set_target_properties(diagramscene PROPERTIES ) target_link_libraries(diagramscene PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/graphicsview/dragdroprobot/CMakeLists.txt b/examples/widgets/graphicsview/dragdroprobot/CMakeLists.txt index 834feae2b5..bf461ce19e 100644 --- a/examples/widgets/graphicsview/dragdroprobot/CMakeLists.txt +++ b/examples/widgets/graphicsview/dragdroprobot/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(dragdroprobot PROPERTIES ) target_link_libraries(dragdroprobot PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/graphicsview/elasticnodes/CMakeLists.txt b/examples/widgets/graphicsview/elasticnodes/CMakeLists.txt index 8e1ce46eb0..7c625d846c 100644 --- a/examples/widgets/graphicsview/elasticnodes/CMakeLists.txt +++ b/examples/widgets/graphicsview/elasticnodes/CMakeLists.txt @@ -27,9 +27,9 @@ set_target_properties(elasticnodes PROPERTIES ) target_link_libraries(elasticnodes PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS elasticnodes diff --git a/examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt b/examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt index e0c84c2e90..3e3b2cb83b 100644 --- a/examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt +++ b/examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt @@ -27,9 +27,9 @@ set_target_properties(embeddeddialogs PROPERTIES ) target_link_libraries(embeddeddialogs PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/graphicsview/flowlayout/CMakeLists.txt b/examples/widgets/graphicsview/flowlayout/CMakeLists.txt index a0afadb181..f571eb0756 100644 --- a/examples/widgets/graphicsview/flowlayout/CMakeLists.txt +++ b/examples/widgets/graphicsview/flowlayout/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(graphicsview_flowlayout PROPERTIES ) target_link_libraries(graphicsview_flowlayout PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS graphicsview_flowlayout diff --git a/examples/widgets/graphicsview/simpleanchorlayout/CMakeLists.txt b/examples/widgets/graphicsview/simpleanchorlayout/CMakeLists.txt index 5f20c9c648..4f5434fd27 100644 --- a/examples/widgets/graphicsview/simpleanchorlayout/CMakeLists.txt +++ b/examples/widgets/graphicsview/simpleanchorlayout/CMakeLists.txt @@ -24,9 +24,9 @@ set_target_properties(simpleanchorlayout PROPERTIES ) target_link_libraries(simpleanchorlayout PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS simpleanchorlayout diff --git a/examples/widgets/graphicsview/weatheranchorlayout/CMakeLists.txt b/examples/widgets/graphicsview/weatheranchorlayout/CMakeLists.txt index d83571a6f6..8e4737e78b 100644 --- a/examples/widgets/graphicsview/weatheranchorlayout/CMakeLists.txt +++ b/examples/widgets/graphicsview/weatheranchorlayout/CMakeLists.txt @@ -24,9 +24,9 @@ set_target_properties(weatheranchorlayout PROPERTIES ) target_link_libraries(weatheranchorlayout PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/itemviews/CMakeLists.txt b/examples/widgets/itemviews/CMakeLists.txt index 04b50251e5..96af14b567 100644 --- a/examples/widgets/itemviews/CMakeLists.txt +++ b/examples/widgets/itemviews/CMakeLists.txt @@ -23,6 +23,6 @@ qt_internal_add_example(storageview) if(QT_FEATURE_draganddrop) qt_internal_add_example(puzzle) endif() -if(TARGET Qt::Xml) +if(TARGET Qt6::Xml) qt_internal_add_example(simpledommodel) endif() diff --git a/examples/widgets/itemviews/addressbook/CMakeLists.txt b/examples/widgets/itemviews/addressbook/CMakeLists.txt index 3667570531..0a95271745 100644 --- a/examples/widgets/itemviews/addressbook/CMakeLists.txt +++ b/examples/widgets/itemviews/addressbook/CMakeLists.txt @@ -29,9 +29,9 @@ set_target_properties(addressbook PROPERTIES ) target_link_libraries(addressbook PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS addressbook diff --git a/examples/widgets/itemviews/basicsortfiltermodel/CMakeLists.txt b/examples/widgets/itemviews/basicsortfiltermodel/CMakeLists.txt index de80b7b471..5b7ab8107c 100644 --- a/examples/widgets/itemviews/basicsortfiltermodel/CMakeLists.txt +++ b/examples/widgets/itemviews/basicsortfiltermodel/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(basicsortfiltermodel PROPERTIES ) target_link_libraries(basicsortfiltermodel PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS basicsortfiltermodel diff --git a/examples/widgets/itemviews/chart/CMakeLists.txt b/examples/widgets/itemviews/chart/CMakeLists.txt index c52929b696..d8d1f48655 100644 --- a/examples/widgets/itemviews/chart/CMakeLists.txt +++ b/examples/widgets/itemviews/chart/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(chart PROPERTIES ) target_link_libraries(chart PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/itemviews/coloreditorfactory/CMakeLists.txt b/examples/widgets/itemviews/coloreditorfactory/CMakeLists.txt index 6df6bc51fb..13ea6cd5f8 100644 --- a/examples/widgets/itemviews/coloreditorfactory/CMakeLists.txt +++ b/examples/widgets/itemviews/coloreditorfactory/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(coloreditorfactory PROPERTIES ) target_link_libraries(coloreditorfactory PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS coloreditorfactory diff --git a/examples/widgets/itemviews/combowidgetmapper/CMakeLists.txt b/examples/widgets/itemviews/combowidgetmapper/CMakeLists.txt index a6c352d568..2fe69363f7 100644 --- a/examples/widgets/itemviews/combowidgetmapper/CMakeLists.txt +++ b/examples/widgets/itemviews/combowidgetmapper/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(combowidgetmapper PROPERTIES ) target_link_libraries(combowidgetmapper PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS combowidgetmapper diff --git a/examples/widgets/itemviews/customsortfiltermodel/CMakeLists.txt b/examples/widgets/itemviews/customsortfiltermodel/CMakeLists.txt index f9aa2a1bbf..463a46c731 100644 --- a/examples/widgets/itemviews/customsortfiltermodel/CMakeLists.txt +++ b/examples/widgets/itemviews/customsortfiltermodel/CMakeLists.txt @@ -27,9 +27,9 @@ set_target_properties(customsortfiltermodel PROPERTIES ) target_link_libraries(customsortfiltermodel PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/itemviews/dirview/CMakeLists.txt b/examples/widgets/itemviews/dirview/CMakeLists.txt index 9754bff9a4..6641618339 100644 --- a/examples/widgets/itemviews/dirview/CMakeLists.txt +++ b/examples/widgets/itemviews/dirview/CMakeLists.txt @@ -24,9 +24,9 @@ set_target_properties(dirview PROPERTIES ) target_link_libraries(dirview PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS dirview diff --git a/examples/widgets/itemviews/editabletreemodel/CMakeLists.txt b/examples/widgets/itemviews/editabletreemodel/CMakeLists.txt index 8d372dbe73..da030a0801 100644 --- a/examples/widgets/itemviews/editabletreemodel/CMakeLists.txt +++ b/examples/widgets/itemviews/editabletreemodel/CMakeLists.txt @@ -28,9 +28,9 @@ set_target_properties(editabletreemodel PROPERTIES ) target_link_libraries(editabletreemodel PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/itemviews/fetchmore/CMakeLists.txt b/examples/widgets/itemviews/fetchmore/CMakeLists.txt index 2abc71fc1e..c22c6fab57 100644 --- a/examples/widgets/itemviews/fetchmore/CMakeLists.txt +++ b/examples/widgets/itemviews/fetchmore/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(fetchmore PROPERTIES ) target_link_libraries(fetchmore PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS fetchmore diff --git a/examples/widgets/itemviews/flattreeview/CMakeLists.txt b/examples/widgets/itemviews/flattreeview/CMakeLists.txt index 23ce2882d2..e039c2a86e 100644 --- a/examples/widgets/itemviews/flattreeview/CMakeLists.txt +++ b/examples/widgets/itemviews/flattreeview/CMakeLists.txt @@ -24,9 +24,9 @@ set_target_properties(flattreeview PROPERTIES ) target_link_libraries(flattreeview PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS flattreeview diff --git a/examples/widgets/itemviews/frozencolumn/CMakeLists.txt b/examples/widgets/itemviews/frozencolumn/CMakeLists.txt index 88b2de98e4..275b8318e2 100644 --- a/examples/widgets/itemviews/frozencolumn/CMakeLists.txt +++ b/examples/widgets/itemviews/frozencolumn/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(frozencolumn PROPERTIES ) target_link_libraries(frozencolumn PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/itemviews/interview/CMakeLists.txt b/examples/widgets/itemviews/interview/CMakeLists.txt index 0bff4991c8..ad2353b756 100644 --- a/examples/widgets/itemviews/interview/CMakeLists.txt +++ b/examples/widgets/itemviews/interview/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(interview PROPERTIES ) target_link_libraries(interview PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/itemviews/pixelator/CMakeLists.txt b/examples/widgets/itemviews/pixelator/CMakeLists.txt index 6db3d92c93..ac01daef08 100644 --- a/examples/widgets/itemviews/pixelator/CMakeLists.txt +++ b/examples/widgets/itemviews/pixelator/CMakeLists.txt @@ -30,9 +30,9 @@ set_target_properties(pixelator PROPERTIES ) target_link_libraries(pixelator PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: @@ -47,9 +47,9 @@ qt_add_resources(pixelator "images" ${images_resource_files} ) -if(TARGET Qt::PrintSupport) +if(TARGET Qt6::PrintSupport) target_link_libraries(pixelator PUBLIC - Qt::PrintSupport + Qt6::PrintSupport ) endif() diff --git a/examples/widgets/itemviews/puzzle/CMakeLists.txt b/examples/widgets/itemviews/puzzle/CMakeLists.txt index dc0b9d8322..b8bfb62307 100644 --- a/examples/widgets/itemviews/puzzle/CMakeLists.txt +++ b/examples/widgets/itemviews/puzzle/CMakeLists.txt @@ -27,9 +27,9 @@ set_target_properties(itemviews_puzzle PROPERTIES ) target_link_libraries(itemviews_puzzle PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/itemviews/simpledommodel/CMakeLists.txt b/examples/widgets/itemviews/simpledommodel/CMakeLists.txt index 1d63e36847..37708d6960 100644 --- a/examples/widgets/itemviews/simpledommodel/CMakeLists.txt +++ b/examples/widgets/itemviews/simpledommodel/CMakeLists.txt @@ -27,10 +27,10 @@ set_target_properties(simpledommodel PROPERTIES ) target_link_libraries(simpledommodel PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets - Qt::Xml + Qt6::Core + Qt6::Gui + Qt6::Widgets + Qt6::Xml ) install(TARGETS simpledommodel diff --git a/examples/widgets/itemviews/simpletreemodel/CMakeLists.txt b/examples/widgets/itemviews/simpletreemodel/CMakeLists.txt index f2ea8ae785..2335435888 100644 --- a/examples/widgets/itemviews/simpletreemodel/CMakeLists.txt +++ b/examples/widgets/itemviews/simpletreemodel/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(simpletreemodel PROPERTIES ) target_link_libraries(simpletreemodel PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/itemviews/simplewidgetmapper/CMakeLists.txt b/examples/widgets/itemviews/simplewidgetmapper/CMakeLists.txt index 1564d8d3a1..64ad79c155 100644 --- a/examples/widgets/itemviews/simplewidgetmapper/CMakeLists.txt +++ b/examples/widgets/itemviews/simplewidgetmapper/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(simplewidgetmapper PROPERTIES ) target_link_libraries(simplewidgetmapper PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS simplewidgetmapper diff --git a/examples/widgets/itemviews/spinboxdelegate/CMakeLists.txt b/examples/widgets/itemviews/spinboxdelegate/CMakeLists.txt index 0c64cb378a..45ce8eebb1 100644 --- a/examples/widgets/itemviews/spinboxdelegate/CMakeLists.txt +++ b/examples/widgets/itemviews/spinboxdelegate/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(spinboxdelegate PROPERTIES ) target_link_libraries(spinboxdelegate PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS spinboxdelegate diff --git a/examples/widgets/itemviews/spreadsheet/CMakeLists.txt b/examples/widgets/itemviews/spreadsheet/CMakeLists.txt index b931ba4bd0..1a340a4c44 100644 --- a/examples/widgets/itemviews/spreadsheet/CMakeLists.txt +++ b/examples/widgets/itemviews/spreadsheet/CMakeLists.txt @@ -31,13 +31,13 @@ set_target_properties(spreadsheet PROPERTIES ) target_link_libraries(spreadsheet PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) -if (TARGET Qt::PrintSupport) - target_link_libraries(spreadsheet PUBLIC Qt::PrintSupport) +if (TARGET Qt6::PrintSupport) + target_link_libraries(spreadsheet PUBLIC Qt6::PrintSupport) endif() # Resources: @@ -52,9 +52,9 @@ qt_add_resources(spreadsheet "spreadsheet" ${spreadsheet_resource_files} ) -if(TARGET Qt::PrintSupport) +if(TARGET Qt6::PrintSupport) target_link_libraries(spreadsheet PUBLIC - Qt::PrintSupport + Qt6::PrintSupport ) endif() diff --git a/examples/widgets/itemviews/stardelegate/CMakeLists.txt b/examples/widgets/itemviews/stardelegate/CMakeLists.txt index 265b0186d5..ab5a77b1be 100644 --- a/examples/widgets/itemviews/stardelegate/CMakeLists.txt +++ b/examples/widgets/itemviews/stardelegate/CMakeLists.txt @@ -27,9 +27,9 @@ set_target_properties(stardelegate PROPERTIES ) target_link_libraries(stardelegate PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS stardelegate diff --git a/examples/widgets/itemviews/storageview/CMakeLists.txt b/examples/widgets/itemviews/storageview/CMakeLists.txt index b393b5b20f..81090f8ae5 100644 --- a/examples/widgets/itemviews/storageview/CMakeLists.txt +++ b/examples/widgets/itemviews/storageview/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(storageview PROPERTIES ) target_link_libraries(storageview PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS storageview diff --git a/examples/widgets/layouts/basiclayouts/CMakeLists.txt b/examples/widgets/layouts/basiclayouts/CMakeLists.txt index cf175a8204..b3c36cd4c5 100644 --- a/examples/widgets/layouts/basiclayouts/CMakeLists.txt +++ b/examples/widgets/layouts/basiclayouts/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(basiclayouts PROPERTIES ) target_link_libraries(basiclayouts PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS basiclayouts diff --git a/examples/widgets/layouts/borderlayout/CMakeLists.txt b/examples/widgets/layouts/borderlayout/CMakeLists.txt index aa76e7d1ec..0ca57e5575 100644 --- a/examples/widgets/layouts/borderlayout/CMakeLists.txt +++ b/examples/widgets/layouts/borderlayout/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(borderlayout PROPERTIES ) target_link_libraries(borderlayout PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS borderlayout diff --git a/examples/widgets/layouts/dynamiclayouts/CMakeLists.txt b/examples/widgets/layouts/dynamiclayouts/CMakeLists.txt index ad636576ce..005b764035 100644 --- a/examples/widgets/layouts/dynamiclayouts/CMakeLists.txt +++ b/examples/widgets/layouts/dynamiclayouts/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(dynamiclayouts PROPERTIES ) target_link_libraries(dynamiclayouts PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS dynamiclayouts diff --git a/examples/widgets/layouts/flowlayout/CMakeLists.txt b/examples/widgets/layouts/flowlayout/CMakeLists.txt index b6b72c86c2..3eab12a7eb 100644 --- a/examples/widgets/layouts/flowlayout/CMakeLists.txt +++ b/examples/widgets/layouts/flowlayout/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(flowlayout PROPERTIES ) target_link_libraries(flowlayout PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS flowlayout diff --git a/examples/widgets/mainwindows/application/CMakeLists.txt b/examples/widgets/mainwindows/application/CMakeLists.txt index ab4216ec87..551794651c 100644 --- a/examples/widgets/mainwindows/application/CMakeLists.txt +++ b/examples/widgets/mainwindows/application/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(application PROPERTIES ) target_link_libraries(application PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/mainwindows/dockwidgets/CMakeLists.txt b/examples/widgets/mainwindows/dockwidgets/CMakeLists.txt index d3b9394232..51b9d35da9 100644 --- a/examples/widgets/mainwindows/dockwidgets/CMakeLists.txt +++ b/examples/widgets/mainwindows/dockwidgets/CMakeLists.txt @@ -28,13 +28,13 @@ set_target_properties(dockwidgets PROPERTIES ) target_link_libraries(dockwidgets PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) -if (TARGET Qt::PrintSupport) - target_link_libraries(dockwidgets PUBLIC Qt::PrintSupport) +if (TARGET Qt6::PrintSupport) + target_link_libraries(dockwidgets PUBLIC Qt6::PrintSupport) endif() # Resources: @@ -52,9 +52,9 @@ qt_add_resources(dockwidgets "dockwidgets" ${dockwidgets_resource_files} ) -if(TARGET Qt::PrintSupport) +if(TARGET Qt6::PrintSupport) target_link_libraries(dockwidgets PUBLIC - Qt::PrintSupport + Qt6::PrintSupport ) endif() diff --git a/examples/widgets/mainwindows/mainwindow/CMakeLists.txt b/examples/widgets/mainwindows/mainwindow/CMakeLists.txt index 6d1330884d..fadb55b9b7 100644 --- a/examples/widgets/mainwindows/mainwindow/CMakeLists.txt +++ b/examples/widgets/mainwindows/mainwindow/CMakeLists.txt @@ -27,9 +27,9 @@ set_target_properties(mainwindow PROPERTIES ) target_link_libraries(mainwindow PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/mainwindows/mdi/CMakeLists.txt b/examples/widgets/mainwindows/mdi/CMakeLists.txt index 3f327a3733..3efefae48e 100644 --- a/examples/widgets/mainwindows/mdi/CMakeLists.txt +++ b/examples/widgets/mainwindows/mdi/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(mdi PROPERTIES ) target_link_libraries(mdi PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/mainwindows/menus/CMakeLists.txt b/examples/widgets/mainwindows/menus/CMakeLists.txt index e2dc7a4df4..84224561a6 100644 --- a/examples/widgets/mainwindows/menus/CMakeLists.txt +++ b/examples/widgets/mainwindows/menus/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(menus PROPERTIES ) target_link_libraries(menus PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS menus diff --git a/examples/widgets/mainwindows/sdi/CMakeLists.txt b/examples/widgets/mainwindows/sdi/CMakeLists.txt index d2205f454a..196d5a2876 100644 --- a/examples/widgets/mainwindows/sdi/CMakeLists.txt +++ b/examples/widgets/mainwindows/sdi/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(sdi PROPERTIES ) target_link_libraries(sdi PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/painting/affine/CMakeLists.txt b/examples/widgets/painting/affine/CMakeLists.txt index c686da3ece..7fa9b58f78 100644 --- a/examples/widgets/painting/affine/CMakeLists.txt +++ b/examples/widgets/painting/affine/CMakeLists.txt @@ -37,9 +37,9 @@ if(NOT TARGET painting_shared::painting_shared) endif() target_link_libraries(affine PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets painting_shared::painting_shared ) @@ -111,7 +111,7 @@ qt_add_resources(affine "affine" #) #target_link_libraries(affine PUBLIC - #Qt::OpenGL + #Qt6::OpenGL #) #endif() diff --git a/examples/widgets/painting/basicdrawing/CMakeLists.txt b/examples/widgets/painting/basicdrawing/CMakeLists.txt index 92f9d39cfc..d960627da3 100644 --- a/examples/widgets/painting/basicdrawing/CMakeLists.txt +++ b/examples/widgets/painting/basicdrawing/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(basicdrawing PROPERTIES ) target_link_libraries(basicdrawing PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/painting/composition/CMakeLists.txt b/examples/widgets/painting/composition/CMakeLists.txt index 338f47addb..9ce249f086 100644 --- a/examples/widgets/painting/composition/CMakeLists.txt +++ b/examples/widgets/painting/composition/CMakeLists.txt @@ -37,9 +37,9 @@ if(NOT TARGET painting_shared::painting_shared) endif() target_link_libraries(composition PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets painting_shared::painting_shared ) @@ -112,7 +112,7 @@ qt_add_resources(composition "composition" #) #target_link_libraries(affine PUBLIC - #Qt::OpenGL + #Qt6::OpenGL #) #endif() diff --git a/examples/widgets/painting/concentriccircles/CMakeLists.txt b/examples/widgets/painting/concentriccircles/CMakeLists.txt index 74549cc9d7..eb9631e922 100644 --- a/examples/widgets/painting/concentriccircles/CMakeLists.txt +++ b/examples/widgets/painting/concentriccircles/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(concentriccircles PROPERTIES ) target_link_libraries(concentriccircles PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS concentriccircles diff --git a/examples/widgets/painting/deform/CMakeLists.txt b/examples/widgets/painting/deform/CMakeLists.txt index 9a37035f8e..4202cf27b0 100644 --- a/examples/widgets/painting/deform/CMakeLists.txt +++ b/examples/widgets/painting/deform/CMakeLists.txt @@ -37,9 +37,9 @@ if(NOT TARGET painting_shared::painting_shared) endif() target_link_libraries(deform PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets painting_shared::painting_shared ) @@ -110,7 +110,7 @@ qt_add_resources(deform "deform" #) #target_link_libraries(affine PUBLIC - #Qt::OpenGL + #Qt6::OpenGL #) #endif() diff --git a/examples/widgets/painting/fontsampler/CMakeLists.txt b/examples/widgets/painting/fontsampler/CMakeLists.txt index 5ed4176dd9..e60c0061b6 100644 --- a/examples/widgets/painting/fontsampler/CMakeLists.txt +++ b/examples/widgets/painting/fontsampler/CMakeLists.txt @@ -30,14 +30,14 @@ set_target_properties(fontsampler PROPERTIES ) target_link_libraries(fontsampler PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) -if(TARGET Qt::PrintSupport) +if(TARGET Qt6::PrintSupport) target_link_libraries(fontsampler PUBLIC - Qt::PrintSupport + Qt6::PrintSupport ) endif() diff --git a/examples/widgets/painting/gradients/CMakeLists.txt b/examples/widgets/painting/gradients/CMakeLists.txt index f45cee0a07..2b97247165 100644 --- a/examples/widgets/painting/gradients/CMakeLists.txt +++ b/examples/widgets/painting/gradients/CMakeLists.txt @@ -37,9 +37,9 @@ if(NOT TARGET painting_shared::painting_shared) endif() target_link_libraries(gradients PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets painting_shared::painting_shared ) @@ -110,7 +110,7 @@ qt_add_resources(gradients "gradients" #) #target_link_libraries(affine PUBLIC - #Qt::OpenGL + #Qt6::OpenGL #) #endif() diff --git a/examples/widgets/painting/imagecomposition/CMakeLists.txt b/examples/widgets/painting/imagecomposition/CMakeLists.txt index de53844afa..e32ecc9ee5 100644 --- a/examples/widgets/painting/imagecomposition/CMakeLists.txt +++ b/examples/widgets/painting/imagecomposition/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(imagecomposition PROPERTIES ) target_link_libraries(imagecomposition PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/painting/painterpaths/CMakeLists.txt b/examples/widgets/painting/painterpaths/CMakeLists.txt index f1a2b31898..2ab2e3ac35 100644 --- a/examples/widgets/painting/painterpaths/CMakeLists.txt +++ b/examples/widgets/painting/painterpaths/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(painterpaths PROPERTIES ) target_link_libraries(painterpaths PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) if(UNIX AND NOT APPLE AND NOT HAIKU AND NOT INTEGRITY AND NOT VXWORKS) diff --git a/examples/widgets/painting/pathstroke/CMakeLists.txt b/examples/widgets/painting/pathstroke/CMakeLists.txt index 88e6a9285d..a7fc317772 100644 --- a/examples/widgets/painting/pathstroke/CMakeLists.txt +++ b/examples/widgets/painting/pathstroke/CMakeLists.txt @@ -37,9 +37,9 @@ if(NOT TARGET painting_shared::painting_shared) endif() target_link_libraries(pathstroke PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets painting_shared::painting_shared ) @@ -110,7 +110,7 @@ qt_add_resources(pathstroke "pathstroke" #) #target_link_libraries(affine PUBLIC - #Qt::OpenGL + #Qt6::OpenGL #) #endif() diff --git a/examples/widgets/painting/shared/CMakeLists.txt b/examples/widgets/painting/shared/CMakeLists.txt index 48fca30029..f3d6fd49de 100644 --- a/examples/widgets/painting/shared/CMakeLists.txt +++ b/examples/widgets/painting/shared/CMakeLists.txt @@ -11,16 +11,16 @@ target_sources(painting_shared PRIVATE ${moc_files} ) -target_link_libraries(painting_shared PUBLIC Qt::Widgets) +target_link_libraries(painting_shared PUBLIC Qt6::Widgets) target_include_directories(painting_shared PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}") ## Scopes: ##################################################################### -if (TARGET Qt::OpenGL OR QT_FEATURE_opengles2) +if (TARGET Qt6::OpenGL OR QT_FEATURE_opengles2) target_compile_definitions(painting_shared PRIVATE QT_OPENGL_SUPPORT) target_link_libraries(painting_shared PUBLIC - Qt::OpenGL + Qt6::OpenGL ) qt6_wrap_cpp(moc_files_gl fbopaintdevice.h) # no automoc for OBJECT libs target_sources(painting_shared PRIVATE fbopaintdevice.cpp fbopaintdevice.h ${moc_files_gl}) diff --git a/examples/widgets/painting/transformations/CMakeLists.txt b/examples/widgets/painting/transformations/CMakeLists.txt index 26c2b1b21d..5f308f739d 100644 --- a/examples/widgets/painting/transformations/CMakeLists.txt +++ b/examples/widgets/painting/transformations/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(transformations PROPERTIES ) target_link_libraries(transformations PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS transformations diff --git a/examples/widgets/richtext/calendar/CMakeLists.txt b/examples/widgets/richtext/calendar/CMakeLists.txt index a66f002e3c..602b585cfb 100644 --- a/examples/widgets/richtext/calendar/CMakeLists.txt +++ b/examples/widgets/richtext/calendar/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(calendar PROPERTIES ) target_link_libraries(calendar PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS calendar diff --git a/examples/widgets/richtext/orderform/CMakeLists.txt b/examples/widgets/richtext/orderform/CMakeLists.txt index c47b93eac9..9a6500d240 100644 --- a/examples/widgets/richtext/orderform/CMakeLists.txt +++ b/examples/widgets/richtext/orderform/CMakeLists.txt @@ -26,14 +26,14 @@ set_target_properties(orderform PROPERTIES ) target_link_libraries(orderform PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) -if(TARGET Qt::PrintSupport) +if(TARGET Qt6::PrintSupport) target_link_libraries(orderform PUBLIC - Qt::PrintSupport + Qt6::PrintSupport ) endif() diff --git a/examples/widgets/richtext/syntaxhighlighter/CMakeLists.txt b/examples/widgets/richtext/syntaxhighlighter/CMakeLists.txt index 56c1991994..9f96fc8368 100644 --- a/examples/widgets/richtext/syntaxhighlighter/CMakeLists.txt +++ b/examples/widgets/richtext/syntaxhighlighter/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(syntaxhighlighter PROPERTIES ) target_link_libraries(syntaxhighlighter PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS syntaxhighlighter diff --git a/examples/widgets/richtext/textedit/CMakeLists.txt b/examples/widgets/richtext/textedit/CMakeLists.txt index 504fe69233..2fa3f7c7a3 100644 --- a/examples/widgets/richtext/textedit/CMakeLists.txt +++ b/examples/widgets/richtext/textedit/CMakeLists.txt @@ -28,13 +28,13 @@ set_target_properties(textedit PROPERTIES ) target_link_libraries(textedit PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) -if (TARGET Qt::PrintSupport) - target_link_libraries(textedit PUBLIC Qt::PrintSupport) +if (TARGET Qt6::PrintSupport) + target_link_libraries(textedit PUBLIC Qt6::PrintSupport) endif() # Resources: @@ -98,9 +98,9 @@ qt_add_resources(textedit "textedit" ${textedit_resource_files} ) -if(TARGET Qt::PrintSupport) +if(TARGET Qt6::PrintSupport) target_link_libraries(textedit PUBLIC - Qt::PrintSupport + Qt6::PrintSupport ) endif() diff --git a/examples/widgets/scroller/graphicsview/CMakeLists.txt b/examples/widgets/scroller/graphicsview/CMakeLists.txt index 92d27394a4..6d8d41a8b2 100644 --- a/examples/widgets/scroller/graphicsview/CMakeLists.txt +++ b/examples/widgets/scroller/graphicsview/CMakeLists.txt @@ -24,9 +24,9 @@ set_target_properties(graphicsview PROPERTIES ) target_link_libraries(graphicsview PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS graphicsview 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: diff --git a/examples/widgets/touch/CMakeLists.txt b/examples/widgets/touch/CMakeLists.txt index 13efae441b..4cf7878963 100644 --- a/examples/widgets/touch/CMakeLists.txt +++ b/examples/widgets/touch/CMakeLists.txt @@ -1,7 +1,7 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -if(NOT TARGET Qt::Widgets) +if(NOT TARGET Qt6::Widgets) return() endif() qt_internal_add_example(pinchzoom) diff --git a/examples/widgets/touch/dials/CMakeLists.txt b/examples/widgets/touch/dials/CMakeLists.txt index 334c531478..736a69e6da 100644 --- a/examples/widgets/touch/dials/CMakeLists.txt +++ b/examples/widgets/touch/dials/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(dials PROPERTIES ) target_link_libraries(dials PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS dials diff --git a/examples/widgets/touch/fingerpaint/CMakeLists.txt b/examples/widgets/touch/fingerpaint/CMakeLists.txt index f7dc475fa4..96bd4ff4f9 100644 --- a/examples/widgets/touch/fingerpaint/CMakeLists.txt +++ b/examples/widgets/touch/fingerpaint/CMakeLists.txt @@ -29,18 +29,18 @@ set_target_properties(fingerpaint PROPERTIES ) target_link_libraries(fingerpaint PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) -if (TARGET Qt::PrintSupport) - target_link_libraries(fingerpaint PUBLIC Qt::PrintSupport) +if (TARGET Qt6::PrintSupport) + target_link_libraries(fingerpaint PUBLIC Qt6::PrintSupport) endif() -if(TARGET Qt::PrintSupport) +if(TARGET Qt6::PrintSupport) target_link_libraries(fingerpaint PUBLIC - Qt::PrintSupport + Qt6::PrintSupport ) endif() diff --git a/examples/widgets/touch/knobs/CMakeLists.txt b/examples/widgets/touch/knobs/CMakeLists.txt index f097f44a7f..a471ee971b 100644 --- a/examples/widgets/touch/knobs/CMakeLists.txt +++ b/examples/widgets/touch/knobs/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(knobs PROPERTIES ) target_link_libraries(knobs PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS knobs diff --git a/examples/widgets/touch/pinchzoom/CMakeLists.txt b/examples/widgets/touch/pinchzoom/CMakeLists.txt index 88f7e312d2..2bbc2dcd92 100644 --- a/examples/widgets/touch/pinchzoom/CMakeLists.txt +++ b/examples/widgets/touch/pinchzoom/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(pinchzoom PROPERTIES ) target_link_libraries(pinchzoom PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/tutorials/addressbook/part1/CMakeLists.txt b/examples/widgets/tutorials/addressbook/part1/CMakeLists.txt index 87292f0eb6..3ca908fae4 100644 --- a/examples/widgets/tutorials/addressbook/part1/CMakeLists.txt +++ b/examples/widgets/tutorials/addressbook/part1/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(part1 PROPERTIES ) target_link_libraries(part1 PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS part1 diff --git a/examples/widgets/tutorials/addressbook/part2/CMakeLists.txt b/examples/widgets/tutorials/addressbook/part2/CMakeLists.txt index 032af2a8e2..e5105cce9f 100644 --- a/examples/widgets/tutorials/addressbook/part2/CMakeLists.txt +++ b/examples/widgets/tutorials/addressbook/part2/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(part2 PROPERTIES ) target_link_libraries(part2 PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS part2 diff --git a/examples/widgets/tutorials/addressbook/part3/CMakeLists.txt b/examples/widgets/tutorials/addressbook/part3/CMakeLists.txt index 941dff356f..3ade538fdc 100644 --- a/examples/widgets/tutorials/addressbook/part3/CMakeLists.txt +++ b/examples/widgets/tutorials/addressbook/part3/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(part3 PROPERTIES ) target_link_libraries(part3 PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS part3 diff --git a/examples/widgets/tutorials/addressbook/part4/CMakeLists.txt b/examples/widgets/tutorials/addressbook/part4/CMakeLists.txt index 4f2b05dd1d..03719a6b3e 100644 --- a/examples/widgets/tutorials/addressbook/part4/CMakeLists.txt +++ b/examples/widgets/tutorials/addressbook/part4/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(part4 PROPERTIES ) target_link_libraries(part4 PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS part4 diff --git a/examples/widgets/tutorials/addressbook/part5/CMakeLists.txt b/examples/widgets/tutorials/addressbook/part5/CMakeLists.txt index b1a1bc2cf2..be337be0e5 100644 --- a/examples/widgets/tutorials/addressbook/part5/CMakeLists.txt +++ b/examples/widgets/tutorials/addressbook/part5/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(part5 PROPERTIES ) target_link_libraries(part5 PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS part5 diff --git a/examples/widgets/tutorials/addressbook/part6/CMakeLists.txt b/examples/widgets/tutorials/addressbook/part6/CMakeLists.txt index 3a2f1af699..1d377c7d8e 100644 --- a/examples/widgets/tutorials/addressbook/part6/CMakeLists.txt +++ b/examples/widgets/tutorials/addressbook/part6/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(part6 PROPERTIES ) target_link_libraries(part6 PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS part6 diff --git a/examples/widgets/tutorials/addressbook/part7/CMakeLists.txt b/examples/widgets/tutorials/addressbook/part7/CMakeLists.txt index 0913e886d0..f2800933bb 100644 --- a/examples/widgets/tutorials/addressbook/part7/CMakeLists.txt +++ b/examples/widgets/tutorials/addressbook/part7/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(part7 PROPERTIES ) target_link_libraries(part7 PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS part7 diff --git a/examples/widgets/tutorials/gettingStarted/gsQt/part1/CMakeLists.txt b/examples/widgets/tutorials/gettingStarted/gsQt/part1/CMakeLists.txt index df8c0b4b32..d256bd217d 100644 --- a/examples/widgets/tutorials/gettingStarted/gsQt/part1/CMakeLists.txt +++ b/examples/widgets/tutorials/gettingStarted/gsQt/part1/CMakeLists.txt @@ -24,9 +24,9 @@ set_target_properties(getting_started_part1 PROPERTIES ) target_link_libraries(getting_started_part1 PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS getting_started_part1 diff --git a/examples/widgets/tutorials/gettingStarted/gsQt/part2/CMakeLists.txt b/examples/widgets/tutorials/gettingStarted/gsQt/part2/CMakeLists.txt index 09656718af..369ee1d2cd 100644 --- a/examples/widgets/tutorials/gettingStarted/gsQt/part2/CMakeLists.txt +++ b/examples/widgets/tutorials/gettingStarted/gsQt/part2/CMakeLists.txt @@ -24,9 +24,9 @@ set_target_properties(getting_started_part2 PROPERTIES ) target_link_libraries(getting_started_part2 PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS getting_started_part2 diff --git a/examples/widgets/tutorials/gettingStarted/gsQt/part3/CMakeLists.txt b/examples/widgets/tutorials/gettingStarted/gsQt/part3/CMakeLists.txt index 0f9a732b36..f927040bf2 100644 --- a/examples/widgets/tutorials/gettingStarted/gsQt/part3/CMakeLists.txt +++ b/examples/widgets/tutorials/gettingStarted/gsQt/part3/CMakeLists.txt @@ -24,9 +24,9 @@ set_target_properties(getting_started_part3 PROPERTIES ) target_link_libraries(getting_started_part3 PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS getting_started_part3 diff --git a/examples/widgets/tutorials/gettingStarted/gsQt/part4/CMakeLists.txt b/examples/widgets/tutorials/gettingStarted/gsQt/part4/CMakeLists.txt index 78a3f89945..8dd418c16e 100644 --- a/examples/widgets/tutorials/gettingStarted/gsQt/part4/CMakeLists.txt +++ b/examples/widgets/tutorials/gettingStarted/gsQt/part4/CMakeLists.txt @@ -24,9 +24,9 @@ set_target_properties(getting_started_part4 PROPERTIES ) target_link_libraries(getting_started_part4 PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS getting_started_part4 diff --git a/examples/widgets/tutorials/gettingStarted/gsQt/part5/CMakeLists.txt b/examples/widgets/tutorials/gettingStarted/gsQt/part5/CMakeLists.txt index 37b40a6a49..a1d2fe64a6 100644 --- a/examples/widgets/tutorials/gettingStarted/gsQt/part5/CMakeLists.txt +++ b/examples/widgets/tutorials/gettingStarted/gsQt/part5/CMakeLists.txt @@ -24,9 +24,9 @@ set_target_properties(getting_started_part5 PROPERTIES ) target_link_libraries(getting_started_part5 PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS getting_started_part5 diff --git a/examples/widgets/tutorials/modelview/1_readonly/CMakeLists.txt b/examples/widgets/tutorials/modelview/1_readonly/CMakeLists.txt index f219f31096..d8c0399a99 100644 --- a/examples/widgets/tutorials/modelview/1_readonly/CMakeLists.txt +++ b/examples/widgets/tutorials/modelview/1_readonly/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(mv_readonly PROPERTIES ) target_link_libraries(mv_readonly PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS mv_readonly diff --git a/examples/widgets/tutorials/modelview/2_formatting/CMakeLists.txt b/examples/widgets/tutorials/modelview/2_formatting/CMakeLists.txt index 09c36f5fbb..187eace047 100644 --- a/examples/widgets/tutorials/modelview/2_formatting/CMakeLists.txt +++ b/examples/widgets/tutorials/modelview/2_formatting/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(mv_formatting PROPERTIES ) target_link_libraries(mv_formatting PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS mv_formatting diff --git a/examples/widgets/tutorials/modelview/3_changingmodel/CMakeLists.txt b/examples/widgets/tutorials/modelview/3_changingmodel/CMakeLists.txt index 80750a27c1..50c7f0ee6b 100644 --- a/examples/widgets/tutorials/modelview/3_changingmodel/CMakeLists.txt +++ b/examples/widgets/tutorials/modelview/3_changingmodel/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(mv_changingmodel PROPERTIES ) target_link_libraries(mv_changingmodel PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS mv_changingmodel diff --git a/examples/widgets/tutorials/modelview/4_headers/CMakeLists.txt b/examples/widgets/tutorials/modelview/4_headers/CMakeLists.txt index 49297961c4..7829e80847 100644 --- a/examples/widgets/tutorials/modelview/4_headers/CMakeLists.txt +++ b/examples/widgets/tutorials/modelview/4_headers/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(mv_headers PROPERTIES ) target_link_libraries(mv_headers PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS mv_headers diff --git a/examples/widgets/tutorials/modelview/5_edit/CMakeLists.txt b/examples/widgets/tutorials/modelview/5_edit/CMakeLists.txt index 8ea3ef342e..81bd5d9c03 100644 --- a/examples/widgets/tutorials/modelview/5_edit/CMakeLists.txt +++ b/examples/widgets/tutorials/modelview/5_edit/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(mv_edit PROPERTIES ) target_link_libraries(mv_edit PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS mv_edit diff --git a/examples/widgets/tutorials/modelview/6_treeview/CMakeLists.txt b/examples/widgets/tutorials/modelview/6_treeview/CMakeLists.txt index 11d5812433..d36e69bbc9 100644 --- a/examples/widgets/tutorials/modelview/6_treeview/CMakeLists.txt +++ b/examples/widgets/tutorials/modelview/6_treeview/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(mv_tree PROPERTIES ) target_link_libraries(mv_tree PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS mv_tree diff --git a/examples/widgets/tutorials/modelview/7_selections/CMakeLists.txt b/examples/widgets/tutorials/modelview/7_selections/CMakeLists.txt index 64235eda65..31223b9198 100644 --- a/examples/widgets/tutorials/modelview/7_selections/CMakeLists.txt +++ b/examples/widgets/tutorials/modelview/7_selections/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(mv_selections PROPERTIES ) target_link_libraries(mv_selections PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS mv_selections diff --git a/examples/widgets/tutorials/notepad/CMakeLists.txt b/examples/widgets/tutorials/notepad/CMakeLists.txt index 874ebd42f8..e3bc886ae5 100644 --- a/examples/widgets/tutorials/notepad/CMakeLists.txt +++ b/examples/widgets/tutorials/notepad/CMakeLists.txt @@ -29,9 +29,9 @@ set_target_properties(notepad PROPERTIES ) target_link_libraries(notepad PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: @@ -63,9 +63,9 @@ qt_add_resources(notepad "notepad" ${notepad_resource_files} ) -if(TARGET Qt::PrintSupport) +if(TARGET Qt6::PrintSupport) target_link_libraries(notepad PUBLIC - Qt::PrintSupport + Qt6::PrintSupport ) endif() diff --git a/examples/widgets/tutorials/widgets/childwidget/CMakeLists.txt b/examples/widgets/tutorials/widgets/childwidget/CMakeLists.txt index cb20505729..4525e8abc1 100644 --- a/examples/widgets/tutorials/widgets/childwidget/CMakeLists.txt +++ b/examples/widgets/tutorials/widgets/childwidget/CMakeLists.txt @@ -24,9 +24,9 @@ set_target_properties(childwidget PROPERTIES ) target_link_libraries(childwidget PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS childwidget diff --git a/examples/widgets/tutorials/widgets/nestedlayouts/CMakeLists.txt b/examples/widgets/tutorials/widgets/nestedlayouts/CMakeLists.txt index 9dbe1539eb..663f846d1d 100644 --- a/examples/widgets/tutorials/widgets/nestedlayouts/CMakeLists.txt +++ b/examples/widgets/tutorials/widgets/nestedlayouts/CMakeLists.txt @@ -24,9 +24,9 @@ set_target_properties(nestedlayouts PROPERTIES ) target_link_libraries(nestedlayouts PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS nestedlayouts diff --git a/examples/widgets/tutorials/widgets/toplevel/CMakeLists.txt b/examples/widgets/tutorials/widgets/toplevel/CMakeLists.txt index de932e9f11..0ccffd5a2c 100644 --- a/examples/widgets/tutorials/widgets/toplevel/CMakeLists.txt +++ b/examples/widgets/tutorials/widgets/toplevel/CMakeLists.txt @@ -24,9 +24,9 @@ set_target_properties(toplevel PROPERTIES ) target_link_libraries(toplevel PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS toplevel diff --git a/examples/widgets/tutorials/widgets/windowlayout/CMakeLists.txt b/examples/widgets/tutorials/widgets/windowlayout/CMakeLists.txt index 52ab8554a4..4a4c85ccc5 100644 --- a/examples/widgets/tutorials/widgets/windowlayout/CMakeLists.txt +++ b/examples/widgets/tutorials/widgets/windowlayout/CMakeLists.txt @@ -24,9 +24,9 @@ set_target_properties(windowlayout PROPERTIES ) target_link_libraries(windowlayout PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS windowlayout diff --git a/examples/widgets/widgets/analogclock/CMakeLists.txt b/examples/widgets/widgets/analogclock/CMakeLists.txt index 791d351302..1dd9a5b5e5 100644 --- a/examples/widgets/widgets/analogclock/CMakeLists.txt +++ b/examples/widgets/widgets/analogclock/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(analogclock PROPERTIES ) target_link_libraries(analogclock PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS analogclock diff --git a/examples/widgets/widgets/calculator/CMakeLists.txt b/examples/widgets/widgets/calculator/CMakeLists.txt index c75bcb36fe..809a15ebd1 100644 --- a/examples/widgets/widgets/calculator/CMakeLists.txt +++ b/examples/widgets/widgets/calculator/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(calculator PROPERTIES ) target_link_libraries(calculator PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS calculator diff --git a/examples/widgets/widgets/calendarwidget/CMakeLists.txt b/examples/widgets/widgets/calendarwidget/CMakeLists.txt index 0d850e4a09..433ff7ccf0 100644 --- a/examples/widgets/widgets/calendarwidget/CMakeLists.txt +++ b/examples/widgets/widgets/calendarwidget/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(calendarwidget PROPERTIES ) target_link_libraries(calendarwidget PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS calendarwidget diff --git a/examples/widgets/widgets/charactermap/CMakeLists.txt b/examples/widgets/widgets/charactermap/CMakeLists.txt index 9642e9f17e..ae151fa603 100644 --- a/examples/widgets/widgets/charactermap/CMakeLists.txt +++ b/examples/widgets/widgets/charactermap/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(charactermap PROPERTIES ) target_link_libraries(charactermap PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS charactermap diff --git a/examples/widgets/widgets/codeeditor/CMakeLists.txt b/examples/widgets/widgets/codeeditor/CMakeLists.txt index 31fb1b0718..5d4c17905f 100644 --- a/examples/widgets/widgets/codeeditor/CMakeLists.txt +++ b/examples/widgets/widgets/codeeditor/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(codeeditor PROPERTIES ) target_link_libraries(codeeditor PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS codeeditor diff --git a/examples/widgets/widgets/digitalclock/CMakeLists.txt b/examples/widgets/widgets/digitalclock/CMakeLists.txt index 43f0106add..fec6895f13 100644 --- a/examples/widgets/widgets/digitalclock/CMakeLists.txt +++ b/examples/widgets/widgets/digitalclock/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(digitalclock PROPERTIES ) target_link_libraries(digitalclock PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS digitalclock diff --git a/examples/widgets/widgets/elidedlabel/CMakeLists.txt b/examples/widgets/widgets/elidedlabel/CMakeLists.txt index c7e2f96aa7..28b950b492 100644 --- a/examples/widgets/widgets/elidedlabel/CMakeLists.txt +++ b/examples/widgets/widgets/elidedlabel/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(elidedlabel PROPERTIES ) target_link_libraries(elidedlabel PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS elidedlabel diff --git a/examples/widgets/widgets/groupbox/CMakeLists.txt b/examples/widgets/widgets/groupbox/CMakeLists.txt index 304b1fe083..b08e869a33 100644 --- a/examples/widgets/widgets/groupbox/CMakeLists.txt +++ b/examples/widgets/widgets/groupbox/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(groupbox PROPERTIES ) target_link_libraries(groupbox PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS groupbox diff --git a/examples/widgets/widgets/icons/CMakeLists.txt b/examples/widgets/widgets/icons/CMakeLists.txt index baede5b418..5a30b75a5a 100644 --- a/examples/widgets/widgets/icons/CMakeLists.txt +++ b/examples/widgets/widgets/icons/CMakeLists.txt @@ -32,9 +32,9 @@ target_compile_definitions(icons PUBLIC ) target_link_libraries(icons PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS icons diff --git a/examples/widgets/widgets/imageviewer/CMakeLists.txt b/examples/widgets/widgets/imageviewer/CMakeLists.txt index dffca22ced..30009e3710 100644 --- a/examples/widgets/widgets/imageviewer/CMakeLists.txt +++ b/examples/widgets/widgets/imageviewer/CMakeLists.txt @@ -28,18 +28,18 @@ set_target_properties(imageviewer PROPERTIES ) target_link_libraries(imageviewer PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) -if (TARGET Qt::PrintSupport) - target_link_libraries(imageviewer PUBLIC Qt::PrintSupport) +if (TARGET Qt6::PrintSupport) + target_link_libraries(imageviewer PUBLIC Qt6::PrintSupport) endif() -if(TARGET Qt::PrintSupport) +if(TARGET Qt6::PrintSupport) target_link_libraries(imageviewer PUBLIC - Qt::PrintSupport + Qt6::PrintSupport ) endif() diff --git a/examples/widgets/widgets/lineedits/CMakeLists.txt b/examples/widgets/widgets/lineedits/CMakeLists.txt index 988e82a534..97a79f2fe6 100644 --- a/examples/widgets/widgets/lineedits/CMakeLists.txt +++ b/examples/widgets/widgets/lineedits/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(lineedits PROPERTIES ) target_link_libraries(lineedits PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS lineedits diff --git a/examples/widgets/widgets/mousebuttons/CMakeLists.txt b/examples/widgets/widgets/mousebuttons/CMakeLists.txt index 79e7048eed..07c7ec1254 100644 --- a/examples/widgets/widgets/mousebuttons/CMakeLists.txt +++ b/examples/widgets/widgets/mousebuttons/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(mousebuttons PROPERTIES ) target_link_libraries(mousebuttons PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS mousebuttons diff --git a/examples/widgets/widgets/movie/CMakeLists.txt b/examples/widgets/widgets/movie/CMakeLists.txt index 89e2adb7da..3e67f9403a 100644 --- a/examples/widgets/widgets/movie/CMakeLists.txt +++ b/examples/widgets/widgets/movie/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(movie PROPERTIES ) target_link_libraries(movie PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS movie diff --git a/examples/widgets/widgets/scribble/CMakeLists.txt b/examples/widgets/widgets/scribble/CMakeLists.txt index 4efce5a0c1..3cf6bc9351 100644 --- a/examples/widgets/widgets/scribble/CMakeLists.txt +++ b/examples/widgets/widgets/scribble/CMakeLists.txt @@ -29,18 +29,18 @@ set_target_properties(scribble PROPERTIES ) target_link_libraries(scribble PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) -if (TARGET Qt::PrintSupport) - target_link_libraries(scribble PUBLIC Qt::PrintSupport) +if (TARGET Qt6::PrintSupport) + target_link_libraries(scribble PUBLIC Qt6::PrintSupport) endif() -if(TARGET Qt::PrintSupport) +if(TARGET Qt6::PrintSupport) target_link_libraries(scribble PUBLIC - Qt::PrintSupport + Qt6::PrintSupport ) endif() diff --git a/examples/widgets/widgets/shapedclock/CMakeLists.txt b/examples/widgets/widgets/shapedclock/CMakeLists.txt index c0cd5eac8c..2d594598a2 100644 --- a/examples/widgets/widgets/shapedclock/CMakeLists.txt +++ b/examples/widgets/widgets/shapedclock/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(shapedclock PROPERTIES ) target_link_libraries(shapedclock PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS shapedclock diff --git a/examples/widgets/widgets/shortcuteditor/CMakeLists.txt b/examples/widgets/widgets/shortcuteditor/CMakeLists.txt index 941cffbb09..a3bc135b32 100644 --- a/examples/widgets/widgets/shortcuteditor/CMakeLists.txt +++ b/examples/widgets/widgets/shortcuteditor/CMakeLists.txt @@ -27,9 +27,9 @@ set_target_properties(shortcuteditor PROPERTIES ) target_link_libraries(shortcuteditor PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS shortcuteditor diff --git a/examples/widgets/widgets/sliders/CMakeLists.txt b/examples/widgets/widgets/sliders/CMakeLists.txt index 4a1dea7496..fb0373aa95 100644 --- a/examples/widgets/widgets/sliders/CMakeLists.txt +++ b/examples/widgets/widgets/sliders/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(sliders PROPERTIES ) target_link_libraries(sliders PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS sliders diff --git a/examples/widgets/widgets/spinboxes/CMakeLists.txt b/examples/widgets/widgets/spinboxes/CMakeLists.txt index add7c5ea2f..21209b854e 100644 --- a/examples/widgets/widgets/spinboxes/CMakeLists.txt +++ b/examples/widgets/widgets/spinboxes/CMakeLists.txt @@ -25,9 +25,9 @@ set_target_properties(spinboxes PROPERTIES ) target_link_libraries(spinboxes PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS spinboxes diff --git a/examples/widgets/widgets/styles/CMakeLists.txt b/examples/widgets/widgets/styles/CMakeLists.txt index 502e5b8672..8dbcc28e6f 100644 --- a/examples/widgets/widgets/styles/CMakeLists.txt +++ b/examples/widgets/widgets/styles/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(styles PROPERTIES ) target_link_libraries(styles PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/widgets/stylesheet/CMakeLists.txt b/examples/widgets/widgets/stylesheet/CMakeLists.txt index f75e5a4a52..5c817461d5 100644 --- a/examples/widgets/widgets/stylesheet/CMakeLists.txt +++ b/examples/widgets/widgets/stylesheet/CMakeLists.txt @@ -27,9 +27,9 @@ set_target_properties(stylesheet PROPERTIES ) target_link_libraries(stylesheet PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/widgets/tablet/CMakeLists.txt b/examples/widgets/widgets/tablet/CMakeLists.txt index bb1d76f2fb..cb02137856 100644 --- a/examples/widgets/widgets/tablet/CMakeLists.txt +++ b/examples/widgets/widgets/tablet/CMakeLists.txt @@ -27,9 +27,9 @@ set_target_properties(qttablet PROPERTIES ) target_link_libraries(qttablet PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/widgets/tetrix/CMakeLists.txt b/examples/widgets/widgets/tetrix/CMakeLists.txt index 4320cef400..378b99a90e 100644 --- a/examples/widgets/widgets/tetrix/CMakeLists.txt +++ b/examples/widgets/widgets/tetrix/CMakeLists.txt @@ -27,9 +27,9 @@ set_target_properties(tetrix PROPERTIES ) target_link_libraries(tetrix PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS tetrix diff --git a/examples/widgets/widgets/tooltips/CMakeLists.txt b/examples/widgets/widgets/tooltips/CMakeLists.txt index 7e1e0fbf1c..d912982470 100644 --- a/examples/widgets/widgets/tooltips/CMakeLists.txt +++ b/examples/widgets/widgets/tooltips/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(tooltips PROPERTIES ) target_link_libraries(tooltips PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/widgets/validators/CMakeLists.txt b/examples/widgets/widgets/validators/CMakeLists.txt index ca034a8709..e4c80ef7a7 100644 --- a/examples/widgets/widgets/validators/CMakeLists.txt +++ b/examples/widgets/widgets/validators/CMakeLists.txt @@ -31,9 +31,9 @@ set_target_properties(validators PROPERTIES ) target_link_libraries(validators PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) # Resources: diff --git a/examples/widgets/widgets/wiggly/CMakeLists.txt b/examples/widgets/widgets/wiggly/CMakeLists.txt index 1f39e94cb1..6f62eafd7a 100644 --- a/examples/widgets/widgets/wiggly/CMakeLists.txt +++ b/examples/widgets/widgets/wiggly/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(wiggly PROPERTIES ) target_link_libraries(wiggly PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS wiggly diff --git a/examples/widgets/widgets/windowflags/CMakeLists.txt b/examples/widgets/widgets/windowflags/CMakeLists.txt index 379270ef87..6b7c6afc34 100644 --- a/examples/widgets/widgets/windowflags/CMakeLists.txt +++ b/examples/widgets/widgets/windowflags/CMakeLists.txt @@ -26,9 +26,9 @@ set_target_properties(windowflags PROPERTIES ) target_link_libraries(windowflags PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) install(TARGETS windowflags diff --git a/examples/widgets/windowcontainer/CMakeLists.txt b/examples/widgets/windowcontainer/CMakeLists.txt index 90bdc67a62..fc2a020c11 100644 --- a/examples/widgets/windowcontainer/CMakeLists.txt +++ b/examples/widgets/windowcontainer/CMakeLists.txt @@ -29,10 +29,10 @@ target_include_directories(windowcontainer PUBLIC ) target_link_libraries(windowcontainer PUBLIC - Qt::Core - Qt::Gui - Qt::OpenGL - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::OpenGL + Qt6::Widgets ) install(TARGETS windowcontainer -- cgit v1.2.3