QmlDesigner: Track if QDS was opened from QtC

Task-number: QDS-6315
Change-Id: I4109e9c98ff5c27b4096b1af32ae945aec10c123
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
Thomas Hartmann
2022-02-22 16:33:53 +01:00
parent c1c0dab2a9
commit dfd9d4804e
5 changed files with 14 additions and 1 deletions

View File

@@ -517,6 +517,11 @@ bool QmlProject::isQtDesignStudio()
return settings->value(qdsStandaloneEntry, false).toBool();
}
bool QmlProject::isQtDesignStudioStartedFromQtC()
{
return qEnvironmentVariableIsSet(Constants::enviromentLaunchedQDS);
}
ProjectExplorer::DeploymentKnowledge QmlProject::deploymentKnowledge() const
{
return DeploymentKnowledge::Perfect;