summaryrefslogtreecommitdiffstats
path: root/examples/nfc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/nfc')
-rw-r--r--examples/nfc/CMakeLists.txt4
-rw-r--r--examples/nfc/annotatedurl/CMakeLists.txt8
2 files changed, 6 insertions, 6 deletions
diff --git a/examples/nfc/CMakeLists.txt b/examples/nfc/CMakeLists.txt
index 47bc9416..0dd7eb29 100644
--- a/examples/nfc/CMakeLists.txt
+++ b/examples/nfc/CMakeLists.txt
@@ -1,9 +1,9 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
-if(TARGET Qt::Widgets)
+if(TARGET Qt6::Widgets)
qt_internal_add_example(annotatedurl)
endif()
-if(TARGET Qt::QuickControls2)
+if(TARGET Qt6::QuickControls2)
qt_internal_add_example(ndefeditor)
endif()
diff --git a/examples/nfc/annotatedurl/CMakeLists.txt b/examples/nfc/annotatedurl/CMakeLists.txt
index 6378dde4..39894448 100644
--- a/examples/nfc/annotatedurl/CMakeLists.txt
+++ b/examples/nfc/annotatedurl/CMakeLists.txt
@@ -33,10 +33,10 @@ if(IOS)
endif()
target_link_libraries(annotatedurl PRIVATE
- Qt::Core
- Qt::Gui
- Qt::Nfc
- Qt::Widgets
+ Qt6::Core
+ Qt6::Gui
+ Qt6::Nfc
+ Qt6::Widgets
)
if(ANDROID)