Commit fd367ec8 authored by Thomas Hartmann's avatar Thomas Hartmann

Wizards: qml project support is desktop only

We support (pure) qml projects only on the desktop.

Change-Id: Ib68d8ddab053a2b4e4b60cc07e9408eff0e27d63
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@nokia.com>
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
parent 6e6e756d
......@@ -68,7 +68,7 @@ QmlProjectApplicationWizard::~QmlProjectApplicationWizard()
Core::FeatureSet QmlProjectApplicationWizard::requiredFeatures() const
{
return Core::Feature(QtSupport::Constants::FEATURE_QT_QUICK);
return Core::Feature(QtSupport::Constants::FEATURE_QT_QUICK) | Core::Feature(QtSupport::Constants::FEATURE_QMLPROJECT);
}
Core::BaseFileWizardParameters QmlProjectApplicationWizard::parameters()
......
......@@ -104,6 +104,7 @@ Core::FeatureSet DesktopQtVersion::availableFeatures() const
{
Core::FeatureSet features = QtSupport::BaseQtVersion::availableFeatures();
features |= Core::FeatureSet(QtSupport::Constants::FEATURE_DESKTOP);
features |= Core::Feature(QtSupport::Constants::FEATURE_QMLPROJECT);
return features;
}
......
......@@ -51,6 +51,7 @@ const char WINCEQT[] = "Qt4ProjectManager.QtVersion.WinCE";
const char FEATURE_QT[] = "QtSupport.Wizards.FeatureQt";
const char FEATURE_QWIDGETS[] = "QtSupport.Wizards.FeatureQWidgets";
const char FEATURE_QT_QUICK[] = "QtSupport.Wizards.FeatureQtQuick";
const char FEATURE_QMLPROJECT[] = "QtSupport.Wizards.FeatureQtQuickProject";
const char FEATURE_QT_QUICK_1[] = "QtSupport.Wizards.FeatureQtQuick.1";
const char FEATURE_QT_QUICK_1_1[] = "QtSupport.Wizards.FeatureQtQuick.1.1";
const char FEATURE_QT_QUICK_2[] = "QtSupport.Wizards.FeatureQtQuick.2";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment