forked from qt-creator/qt-creator
QtSupport: Move qmlsceneCommand down to BaseQtVersion
This had already accessors to all kind of commands, having also qmlsceneCommand there makes it more consistent and lets us un-export DesktopQtVersion. Change-Id: I3ba5a840125b2b1197abb1564b7906571230f2c4 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -43,7 +43,6 @@
|
||||
#include <qtsupport/baseqtversion.h>
|
||||
#include <qtsupport/qtkitinformation.h>
|
||||
#include <qtsupport/qtsupportconstants.h>
|
||||
#include <qtsupport/qtversions.h>
|
||||
|
||||
#include <qmljs/qmljsmodelmanagerinterface.h>
|
||||
|
||||
@@ -300,7 +299,7 @@ Tasks QmlProject::projectIssues(const Kit *k) const
|
||||
|
||||
if (dev->type() == ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE) {
|
||||
if (version->type() == QtSupport::Constants::DESKTOPQT) {
|
||||
if (static_cast<const QtSupport::DesktopQtVersion *>(version)->qmlsceneCommand().isEmpty()) {
|
||||
if (version->qmlsceneCommand().isEmpty()) {
|
||||
result.append(createProjectTask(Task::TaskType::Error,
|
||||
tr("Qt version has no qmlscene command.")));
|
||||
}
|
||||
|
Reference in New Issue
Block a user