forked from qt-creator/qt-creator
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:
@@ -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",
|
||||
|
Reference in New Issue
Block a user