QmlDesigner: Update wizard templates

These are the latest changes from qtquickdesigner/6.0 branch.
Since 7.0 these templates are now part of qt-creator.

Change-Id: I533c005734518eaf7dcd94f3f94167d973af68a5
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Thomas Hartmann
2022-02-03 12:29:52 +01:00
parent 9ff851a204
commit 0d812cd59b
8 changed files with 48 additions and 21 deletions

View File

@@ -65,7 +65,7 @@
})"
},
{
"trKey": "2560 x 1440 (QHD)",
"trKey": "2560 x 1440",
"value":
"({
'ScreenWidth': '2560',
@@ -73,7 +73,7 @@
})"
},
{
"trKey": "1920 x 1080 (FullHD)",
"trKey": "1920 x 1080",
"value":
"({
'ScreenWidth': '1920',
@@ -97,7 +97,7 @@
})"
},
{
"trKey": "1280 x 720 (HD)",
"trKey": "1280 x 720",
"value":
"({
'ScreenWidth': '1280',

View File

@@ -70,7 +70,7 @@
})"
},
{
"trKey": "720 x 1280 (HD)",
"trKey": "720 x 1280",
"value":
"({
'ScreenWidth': '720',
@@ -78,7 +78,7 @@
})"
},
{
"trKey": "1280 x 720 (HD)",
"trKey": "1280 x 720",
"value":
"({
'ScreenWidth': '1280',

View File

@@ -67,7 +67,7 @@
})"
},
{
"trKey": "2560 x 1440 (QHD)",
"trKey": "2560 x 1440",
"value":
"({
'ScreenWidth': '2560',
@@ -75,7 +75,7 @@
})"
},
{
"trKey": "1920 x 1080 (FullHD)",
"trKey": "1920 x 1080",
"value":
"({
'ScreenWidth': '1920',
@@ -99,7 +99,7 @@
})"
},
{
"trKey": "1280 x 720 (HD)",
"trKey": "1280 x 720",
"value":
"({
'ScreenWidth': '1280',

View File

@@ -9,15 +9,23 @@ Project {
/* Include .qml, .js, and image files from current directory and subdirectories */
QmlFiles {
directory: "."
directory: "content"
}
QmlFiles {
directory: "imports"
}
JavaScriptFiles {
directory: "."
directory: "content"
}
JavaScriptFiles {
directory: "imports"
}
ImageFiles {
directory: "."
directory: "content"
}
Files {
@@ -34,6 +42,18 @@ Project {
filter: "*.ttf;*.otf"
}
Files {
filter: "*.wav;*.mp3"
}
Files {
filter: "*.mp4"
}
Files {
filter: "*.glsl;*.glslv;*.glslf;*.vsh;*.fsh;*.vert;*.frag"
}
Files {
filter: "*.mesh"
directory: "asset_imports"
@@ -61,13 +81,20 @@ Project {
@endif
/* List of plugin directories passed to QML runtime */
importPaths: [ ".", "imports", "asset_imports" ]
importPaths: [ "imports", "asset_imports" ]
/* Required for deployment */
targetDirectory: "/opt/%{ProjectName}"
qdsVersion: "3.0"
@if %{IsQt6Project}
/* If any modules the project imports require widgets (e.g. QtCharts), widgetApp must be true */
widgetApp: true
@endif
multilanguageSupport: true
supportedLanguages: ["en"]
primaryLanguage: "en"
}

View File

@@ -55,7 +55,7 @@
"items":
[
{
"trKey": "2960 x 1440 (QHD)",
"trKey": "2960 x 1440",
"value":
"({
'ScreenWidth': '2960',
@@ -71,7 +71,7 @@
})"
},
{
"trKey": "1920 x 1080 (FullHD)",
"trKey": "1920 x 1080",
"value":
"({
'ScreenWidth': '1920',
@@ -95,7 +95,7 @@
})"
},
{
"trKey": "1280 x 720 (HD)",
"trKey": "1280 x 720",
"value":
"({
'ScreenWidth': '1280',

View File

@@ -55,7 +55,7 @@
"items":
[
{
"trKey": "1080 x 1920 (FullHD)",
"trKey": "1080 x 1920",
"value":
"({
'ScreenWidth': '1080',
@@ -79,7 +79,7 @@
})"
},
{
"trKey": "720 x 1280 (HD)",
"trKey": "720 x 1280",
"value":
"({
'ScreenWidth': '720',

View File

@@ -53,7 +53,7 @@
"items":
[
{
"trKey": "1080 x 1920 (FullHD)",
"trKey": "1080 x 1920",
"value":
"({
'ScreenWidth': '1080',
@@ -77,7 +77,7 @@
})"
},
{
"trKey": "720 x 1280 (HD)",
"trKey": "720 x 1280",
"value":
"({
'ScreenWidth': '720',

View File

@@ -53,7 +53,7 @@
"items":
[
{
"trKey": "1080 x 1920 (FullHD)",
"trKey": "1080 x 1920",
"value":
"({
'ScreenWidth': '1080',
@@ -77,7 +77,7 @@
})"
},
{
"trKey": "720 x 1280 (HD)",
"trKey": "720 x 1280",
"value":
"({
'ScreenWidth': '720',