aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlcontext/data/Singleton.qml
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2017-09-20 18:57:07 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2017-09-20 18:57:07 +0000
commit112d668c0fded8c6ab7bf40fd3800cf43e005f95 (patch)
treeb23889851a0d8c779bd7f2f3605375f8adc1cb05 /tests/auto/qml/qqmlcontext/data/Singleton.qml
parentae805cafde1f327c9252b9d08449a08f052746d4 (diff)
parent55a671ea73fbe657f360befa221e2c0c15ed4b0e (diff)
Merge "Merge remote-tracking branch 'origin/5.9' into 5.10" into refs/staging/5.10
Diffstat (limited to 'tests/auto/qml/qqmlcontext/data/Singleton.qml')
-rw-r--r--tests/auto/qml/qqmlcontext/data/Singleton.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlcontext/data/Singleton.qml b/tests/auto/qml/qqmlcontext/data/Singleton.qml
new file mode 100644
index 0000000000..68ef5850e3
--- /dev/null
+++ b/tests/auto/qml/qqmlcontext/data/Singleton.qml
@@ -0,0 +1,5 @@
+pragma Singleton
+import QtQml 2.0
+QtObject {
+ readonly property string song: "Highway to Hell"
+}