aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quickcontrols')
-rw-r--r--examples/quickcontrols/contactlist/CMakeLists.txt1
-rw-r--r--examples/quickcontrols/gallery/pages/DelegatePage.qml8
2 files changed, 4 insertions, 5 deletions
diff --git a/examples/quickcontrols/contactlist/CMakeLists.txt b/examples/quickcontrols/contactlist/CMakeLists.txt
index 508bccaae9..cd7980653d 100644
--- a/examples/quickcontrols/contactlist/CMakeLists.txt
+++ b/examples/quickcontrols/contactlist/CMakeLists.txt
@@ -21,7 +21,6 @@ qt_add_executable(contactlistexample WIN32 MACOSX_BUNDLE
qt_add_qml_module(contactlistexample
URI contactlist
- NO_RESOURCE_TARGET_PATH
QML_FILES
"ContactDelegate.ui.qml"
"ContactDialog.qml"
diff --git a/examples/quickcontrols/gallery/pages/DelegatePage.qml b/examples/quickcontrols/gallery/pages/DelegatePage.qml
index 5d4c6b9db2..519fffc6d2 100644
--- a/examples/quickcontrols/gallery/pages/DelegatePage.qml
+++ b/examples/quickcontrols/gallery/pages/DelegatePage.qml
@@ -20,6 +20,10 @@ Pane {
text: qsTr("Delegate controls are used as delegates in views such as ListView.")
}
+ ButtonGroup {
+ id: radioButtonGroup
+ }
+
ListView {
id: listView
clip: true
@@ -152,10 +156,6 @@ Pane {
}
}
- ButtonGroup {
- id: radioButtonGroup
- }
-
Component {
id: radioDelegateComponent