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:
@@ -473,7 +473,8 @@ void QmlProjectRunConfiguration::manageQtVersions()
|
||||
bool QmlProjectRunConfiguration::isValidVersion(Qt4ProjectManager::QtVersion *version)
|
||||
{
|
||||
if (version
|
||||
&& version->supportsTargetId(Qt4ProjectManager::Constants::DESKTOP_TARGET_ID)
|
||||
&& (version->supportsTargetId(Qt4ProjectManager::Constants::DESKTOP_TARGET_ID)
|
||||
|| version->supportsTargetId(Qt4ProjectManager::Constants::QT_SIMULATOR_TARGET_ID))
|
||||
&& !version->qmlviewerCommand().isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user