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": "value":
"({ "({
'ScreenWidth': '2560', 'ScreenWidth': '2560',
@@ -73,7 +73,7 @@
})" })"
}, },
{ {
"trKey": "1920 x 1080 (FullHD)", "trKey": "1920 x 1080",
"value": "value":
"({ "({
'ScreenWidth': '1920', 'ScreenWidth': '1920',
@@ -97,7 +97,7 @@
})" })"
}, },
{ {
"trKey": "1280 x 720 (HD)", "trKey": "1280 x 720",
"value": "value":
"({ "({
'ScreenWidth': '1280', 'ScreenWidth': '1280',

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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