forked from qt-creator/qt-creator
QtSupport: FilePathify BaseQtVersion::qmlsceneCommand()
Change-Id: Ia0bc3fcb40bbda31cd114503ab599b65d7597e70 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -176,7 +176,7 @@ FilePath QmlProjectRunConfiguration::qmlScenePath() const
|
||||
if (deviceType == ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE) {
|
||||
// If not given explicitly by Qt Version, try to pick it from $PATH.
|
||||
const bool isDesktop = version->type() == QtSupport::Constants::DESKTOPQT;
|
||||
return FilePath::fromString(isDesktop ? version->qmlsceneCommand() : QString("qmlscene"));
|
||||
return isDesktop ? version->qmlsceneCommand() : FilePath::fromString("qmlscene");
|
||||
}
|
||||
|
||||
IDevice::ConstPtr dev = DeviceKitAspect::device(kit);
|
||||
|
||||
Reference in New Issue
Block a user