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
|
"openAsProject": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "project.qmlproject.tpl",
|
"source": "BackendObject.h",
|
||||||
"target": "%{ProjectDirectory}/%{QmlProjectFile}",
|
"target": "%{ProjectDirectory}/src/%{InterfaceFile}",
|
||||||
"openInEditor": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"source": "main.qml.tpl",
|
|
||||||
"target": "%{ProjectDirectory}/%{MainQmlFile}",
|
|
||||||
"openInEditor": true
|
"openInEditor": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -76,8 +71,13 @@
|
|||||||
"openInEditor": true
|
"openInEditor": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "BackendObject.h",
|
"source": "project.qmlproject.tpl",
|
||||||
"target": "%{ProjectDirectory}/src/%{InterfaceFile}",
|
"target": "%{ProjectDirectory}/%{QmlProjectFile}",
|
||||||
|
"openInEditor": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "main.qml.tpl",
|
||||||
|
"target": "%{ProjectDirectory}/%{MainQmlFile}",
|
||||||
"openInEditor": true
|
"openInEditor": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -98,7 +98,7 @@
|
|||||||
{
|
{
|
||||||
"source": "translation.nb_NO.ts",
|
"source": "translation.nb_NO.ts",
|
||||||
"target": "%{ProjectDirectory}/translations/%{TsFile}",
|
"target": "%{ProjectDirectory}/translations/%{TsFile}",
|
||||||
"openInEditor": true
|
"openInEditor": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "%{IDE:ResourcePath}/templates/wizards/projects/git.ignore",
|
"source": "%{IDE:ResourcePath}/templates/wizards/projects/git.ignore",
|
||||||
|
Reference in New Issue
Block a user