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:
Christian Kamm
2010-11-12 13:37:54 +01:00
parent 8f70d0e200
commit 8f85202fb1
2 changed files with 4 additions and 2 deletions

View File

@@ -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);
}