forked from qt-creator/qt-creator
QtVersionManager: Introduce qtVersionNumber + various fixes
Make the internal data structure a map from id to Version, simplfing a few functions. Return sorted lists, with newer versions in front for various functions, e.g. validVersions(), versionsForTargetId.
This commit is contained in:
@@ -59,7 +59,7 @@ bool QmlObserverTool::canBuild(const QtVersion *qtVersion)
|
||||
{
|
||||
return (qtVersion->supportsTargetId(Constants::DESKTOP_TARGET_ID)
|
||||
|| qtVersion->supportsTargetId(Constants::QT_SIMULATOR_TARGET_ID))
|
||||
&& checkMinimumQtVersion(qtVersion->qtVersionString(), 4, 7, 1);
|
||||
&& (qtVersion->qtVersion() > QtVersionNumber(4, 7, 1));
|
||||
}
|
||||
|
||||
QString QmlObserverTool::toolForProject(ProjectExplorer::Project *project)
|
||||
|
||||
Reference in New Issue
Block a user