forked from qt-creator/qt-creator
Wizards: Fix wizard for .qmltypes
The wizard got forgotten during some cleanup. I changed the name and description to emphasize prototyping. Task-number: QTCREATORBUG-17771 Task-number: QTCREATORBUG-17708 Change-Id: I1d46737aba40abf3cd13effc50991cdb789980e6 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
"supportedProjectTypes": [ "QmlProjectManager.QmlProject" ],
|
||||
"id": "QA.QtQuickUi",
|
||||
"category": "H.Project",
|
||||
"trDescription": "Creates a Qt Quick 2 UI project with a QML entry point. To use it, you need to have a QML runtime environment such as qmlscene set up. Consider using a Qt Quick Application project instead.",
|
||||
"trDisplayName": "Qt Quick UI",
|
||||
"trDescription": "Creates a Qt Quick 2 UI project with a QML entry point. To use it, you need to have a QML runtime environment such as qmlscene set up.\n\nUse this only if you are prototyping. You cannot create a full application with this. Consider using a Qt Quick Application project instead.",
|
||||
"trDisplayName": "Qt Quick UI Prototype",
|
||||
"trDisplayCategory": "Other Project",
|
||||
"icon": "../../qtquickapplication/qml_wizard.png",
|
||||
"icon": "../qtquickapplication/qml_wizard.png",
|
||||
"enabled": "%{JS: [ %{Plugins} ].indexOf('QmlProjectManager') >= 0}",
|
||||
"featuresRequired": [ "QtSupport.Wizards.FeatureQtQuick.Controls.1.3", "QtSupport.Wizards.FeatureQtQuickProject", "QtSupport.Wizards.FeatureQt" ],
|
||||
|
||||
@@ -123,17 +123,17 @@
|
||||
"openAsProject": true
|
||||
},
|
||||
{
|
||||
"source": "../../qtquickapplication/main.qml.tpl",
|
||||
"source": "../qtquickapplication/main.qml.tpl",
|
||||
"target": "%{ProjectDirectory}/%{MainQmlFileName}",
|
||||
"openInEditor": true
|
||||
},
|
||||
{
|
||||
"source": "../../qtquickapplication/MainForm.ui.qml.tpl",
|
||||
"source": "../qtquickapplication/MainForm.ui.qml.tpl",
|
||||
"target": "%{ProjectDirectory}/MainForm.ui.qml",
|
||||
"condition": "%{IsUiFileInUse}"
|
||||
},
|
||||
{
|
||||
"source": "../../git.ignore",
|
||||
"source": "../git.ignore",
|
||||
"target": "%{ProjectDirectory}/.gitignore",
|
||||
"condition": "%{JS: !%{IsSubproject} && '%{VersionControl}' === 'G.Git'}"
|
||||
}
|
Reference in New Issue
Block a user