aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/studiowelcome/qml
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2021-09-07 13:09:53 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2021-09-07 12:46:58 +0000
commit97d6b487ff2f1fa541ab0d4475d4599d1de62a29 (patch)
tree612e9c57688818318ea943ca35a102b3c1ce2c24 /src/plugins/studiowelcome/qml
parent95f2198e972c128522208f36fd687975833859c6 (diff)
StudioWelcome: Add C++ example
This downloadable example shows how to setup the C++ project using .qrc files. We open the .qmlproject in QDS. Change-Id: I759095d9c6a4026f3eab49d7e5e6543f5e57b71d Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/plugins/studiowelcome/qml')
-rw-r--r--src/plugins/studiowelcome/qml/welcomepage/ExamplesModel.qml11
-rw-r--r--src/plugins/studiowelcome/qml/welcomepage/images/cppdemo_thumbnail.pngbin0 -> 18072 bytes
2 files changed, 11 insertions, 0 deletions
diff --git a/src/plugins/studiowelcome/qml/welcomepage/ExamplesModel.qml b/src/plugins/studiowelcome/qml/welcomepage/ExamplesModel.qml
index 8dc8060171..5cb254f4f5 100644
--- a/src/plugins/studiowelcome/qml/welcomepage/ExamplesModel.qml
+++ b/src/plugins/studiowelcome/qml/welcomepage/ExamplesModel.qml
@@ -108,4 +108,15 @@ ListModel {
url: "https://download.qt.io/learning/examples/qtdesignstudio/effectdemo.zip"
showDownload: true
}
+
+
+ ListElement {
+ projectName: "cppdemoproject"
+ explicitQmlproject: "qml/qdsproject.qmlproject"
+ qmlFileName: "Screen01.ui.qml"
+ thumbnail: "images/cppdemo_thumbnail.png"
+ displayName: "C++ Demo Project"
+ url: "https://download.qt.io/learning/examples/qtdesignstudio/cppdemoproject.zip"
+ showDownload: true
+ }
}
diff --git a/src/plugins/studiowelcome/qml/welcomepage/images/cppdemo_thumbnail.png b/src/plugins/studiowelcome/qml/welcomepage/images/cppdemo_thumbnail.png
new file mode 100644
index 0000000000..f92be7f50f
--- /dev/null
+++ b/src/plugins/studiowelcome/qml/welcomepage/images/cppdemo_thumbnail.png
Binary files differ