forked from qt-creator/qt-creator
QmlProject: Unify selection of supported kits
Change-Id: Ic33e9688d823bd09664e5dc74fe5253cb5fcbc58 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Thomas Hartmann
parent
7f226bc48f
commit
8ae505f30e
@@ -376,7 +376,7 @@ bool CMakeProject::knowsAllBuildExecutables() const
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CMakeProject::supportsKit(Kit *k, QString *errorMessage) const
|
||||
bool CMakeProject::supportsKit(const Kit *k, QString *errorMessage) const
|
||||
{
|
||||
if (!CMakeKitInformation::cmakeTool(k)) {
|
||||
if (errorMessage)
|
||||
|
||||
@@ -72,7 +72,7 @@ public:
|
||||
bool requiresTargetPanel() const final;
|
||||
bool knowsAllBuildExecutables() const final;
|
||||
|
||||
bool supportsKit(ProjectExplorer::Kit *k, QString *errorMessage = 0) const final;
|
||||
bool supportsKit(const ProjectExplorer::Kit *k, QString *errorMessage = 0) const final;
|
||||
|
||||
void runCMake();
|
||||
void runCMakeAndScanProjectTree();
|
||||
|
||||
Reference in New Issue
Block a user