McuSupport: Open QML file when starting new MCU project

Previously the editor opened the translation file when starting
a new project. It makes more sense to open up the main QML file.

Task-number: QTCREATORBUG-28790
Change-Id: If1f61d23e4863143cacf004246ca7813dd04a1ab
Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Sivert Krøvel
2023-03-03 10:56:37 +01:00
parent 0d809806d4
commit b9fb022389

View File

@@ -56,13 +56,8 @@
"openAsProject": true
},
{
"source": "project.qmlproject.tpl",
"target": "%{ProjectDirectory}/%{QmlProjectFile}",
"openInEditor": true
},
{
"source": "main.qml.tpl",
"target": "%{ProjectDirectory}/%{MainQmlFile}",
"source": "BackendObject.h",
"target": "%{ProjectDirectory}/src/%{InterfaceFile}",
"openInEditor": true
},
{
@@ -76,8 +71,13 @@
"openInEditor": true
},
{
"source": "BackendObject.h",
"target": "%{ProjectDirectory}/src/%{InterfaceFile}",
"source": "project.qmlproject.tpl",
"target": "%{ProjectDirectory}/%{QmlProjectFile}",
"openInEditor": true
},
{
"source": "main.qml.tpl",
"target": "%{ProjectDirectory}/%{MainQmlFile}",
"openInEditor": true
},
{
@@ -98,7 +98,7 @@
{
"source": "translation.nb_NO.ts",
"target": "%{ProjectDirectory}/translations/%{TsFile}",
"openInEditor": true
"openInEditor": false
},
{
"source": "%{IDE:ResourcePath}/templates/wizards/projects/git.ignore",