diff options
author | Alessandro Portale <alessandro.portale@nokia.com> | 2010-07-20 17:21:18 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@nokia.com> | 2010-07-20 18:32:59 +0200 |
commit | 38e2ba8cfe7deed62948f5c82d7b861b634291b8 (patch) | |
tree | 2fe6d69d7603ffb78fd9063454ac9f93d8b821fe /src/plugins/qmlprojectmanager/qmlprojectplugin.cpp | |
parent | ae4993f8a54851a93af8e65dc2ad5cdddfbd8d72 (diff) | |
download | qt-creator-38e2ba8cfe7deed62948f5c82d7b861b634291b8.tar.gz |
Support existing Qml project for "standalone" Qml apps
Now, the user can select an existing qml application that can
be turned into a standalone Qml app. The qml source files will not
be copied around but rather stay in their original location. The
new .pro file that gets generated by this wizard will reference
the qml source files via relative path and deploy them from there.
Task-number: QTCREATORBUG-1814
Diffstat (limited to 'src/plugins/qmlprojectmanager/qmlprojectplugin.cpp')
-rw-r--r-- | src/plugins/qmlprojectmanager/qmlprojectplugin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp b/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp index 2bbacd7d26..4ee1344425 100644 --- a/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp +++ b/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp @@ -77,7 +77,8 @@ bool QmlProjectPlugin::initialize(const QStringList &, QString *errorMessage) addAutoReleasedObject(manager); addAutoReleasedObject(new Internal::QmlProjectRunConfigurationFactory); addAutoReleasedObject(new Internal::QmlRunControlFactory); - addAutoReleasedObject(new QmlNewStandaloneAppWizard); + addAutoReleasedObject(new QmlStandaloneAppWizard(QmlStandaloneAppWizard::NewQmlFile)); + addAutoReleasedObject(new QmlStandaloneAppWizard(QmlStandaloneAppWizard::ImportQmlFile)); addAutoReleasedObject(new QmlProjectApplicationWizard); addAutoReleasedObject(new QmlProjectImportWizard); |