Commit f06a5f12 authored by Alessandro Portale's avatar Alessandro Portale
Browse files

Features: We have no component support on the desktop



Symbian and Meego components are only supported on the devices and
for the simulator.

Change-Id: I21db10d32a80eac9ea04b678efd0e7dd65bccaff
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
parent e75a9010
......@@ -103,9 +103,6 @@ QString DesktopQtVersion::description() const
Core::FeatureSet DesktopQtVersion::availableFeatures() const
{
Core::FeatureSet features = QtSupport::BaseQtVersion::availableFeatures();
if (qtVersion() >= QtSupport::QtVersionNumber(4, 7, 4)) //no reliable test for components, yet.
features |= Core::FeatureSet(QtSupport::Constants::FEATURE_QTQUICK_COMPONENTS_MEEGO)
| Core::FeatureSet(QtSupport::Constants::FEATURE_QTQUICK_COMPONENTS_SYMBIAN);
features |= Core::FeatureSet(QtSupport::Constants::FEATURE_DESKTOP);
return features;
}
......
......@@ -100,6 +100,16 @@ QString SimulatorQtVersion::description() const
return QCoreApplication::translate("QtVersion", "Qt Simulator", "Qt Version is meant for Qt Simulator");
}
Core::FeatureSet SimulatorQtVersion::availableFeatures() const
{
Core::FeatureSet features = QtSupport::BaseQtVersion::availableFeatures();
if (qtVersion() >= QtSupport::QtVersionNumber(4, 7, 4)) //no reliable test for components, yet.
features |= Core::FeatureSet(QtSupport::Constants::FEATURE_QTQUICK_COMPONENTS_MEEGO)
| Core::FeatureSet(QtSupport::Constants::FEATURE_QTQUICK_COMPONENTS_SYMBIAN);
return features;
}
bool SimulatorQtVersion::supportsPlatform(const QString &platformName) const
{
return (platformName == QtSupport::Constants::SYMBIAN_PLATFORM
......
......@@ -58,6 +58,7 @@ public:
QString description() const;
Core::FeatureSet availableFeatures() const;
bool supportsPlatform(const QString &platformName) const;
};
......
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