QString QmlProjectRunConfiguration::executable() const { QtSupport::BaseQtVersion *version = qtVersion(); if (!version) return QString(); if (id() == Constants::QML_SCENE_RC_ID) return version->qmlsceneCommand(); return version->qmlviewerCommand(); }
QString QmlProjectRunConfiguration::observerPath() const { QtSupport::BaseQtVersion *version = qtVersion(); if (!version) { return QString(); } else { if (id() == Constants::QML_SCENE_RC_ID) return version->qmlsceneCommand(); if (!version->needsQmlDebuggingLibrary()) return version->qmlviewerCommand(); return version->qmlObserverTool(); } }