forked from qt-creator/qt-creator
QmlProject and Observer: Work with Simulator Qt targets.
This allows using the qmlviewer of a Simulator Qt version. It also builds and uses the qmlobserver when debugging. Reviewed-by: Kai Koehne
This commit is contained in:
@@ -53,7 +53,8 @@ static inline QStringList validBinaryFilenames()
|
||||
|
||||
bool QmlObserverTool::canBuild(const QtVersion *qtVersion)
|
||||
{
|
||||
return qtVersion->supportsTargetId(Constants::DESKTOP_TARGET_ID)
|
||||
return (qtVersion->supportsTargetId(Constants::DESKTOP_TARGET_ID)
|
||||
|| qtVersion->supportsTargetId(Constants::QT_SIMULATOR_TARGET_ID))
|
||||
&& checkMinimumQtVersion(qtVersion->qtVersionString(), 4, 7, 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user