Commit 0894bfaa authored by Thomas Hartmann's avatar Thomas Hartmann

Wizards: Widgets are not supported for Meego/Harmattan

Widgets are only supportted for Maemo5

Change-Id: I7ee3bae8d8521b06cb42e179784eb83ab91ad097
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@nokia.com>
parent 3a489049
......@@ -191,6 +191,10 @@ Core::FeatureSet MaemoQtVersion::availableFeatures() const
if (qtVersion() >= QtSupport::QtVersionNumber(4, 7, 4)) //no reliable test for components, yet.
features |= Core::FeatureSet(QtSupport::Constants::FEATURE_QTQUICK_COMPONENTS_MEEGO);
features |= Core::FeatureSet(QtSupport::Constants::FEATURE_MOBILE);
if (osType() != QLatin1String(Maemo5OsType)) //Only Maemo5 has proper support for Widgets
features.remove(Core::Feature(QtSupport::Constants::FEATURE_QWIDGETS));
return features;
}
......
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