summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tutorials/notepad
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/tutorials/notepad')
-rw-r--r--examples/widgets/tutorials/notepad/CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/widgets/tutorials/notepad/CMakeLists.txt b/examples/widgets/tutorials/notepad/CMakeLists.txt
index 874ebd42f80..e3bc886ae54 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()