forked from qt-creator/qt-creator
QmlProjectManager: Remove old cmake generator
and suppress warnings about .hints files not being part of the project Fixes: QDS-12507 Fixes: QDS-12508 Change-Id: If3c2f5ce716b8744dd4fee91ec7bba5293163a97 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
#include "cmakewriterv1.h"
|
||||
#include "cmakegenerator.h"
|
||||
#include "generatecmakelistsconstants.h"
|
||||
|
||||
#include "qmlprojectmanager/buildsystem/qmlbuildsystem.h"
|
||||
|
||||
@@ -62,7 +61,7 @@ void CMakeWriterV1::writeRootCMakeFile(const NodePtr &node) const
|
||||
const QString appName = parent()->projectName() + "App";
|
||||
|
||||
QString fileSection = "";
|
||||
const QString configFile = getEnvironmentVariable(Constants::ENV_VARIABLE_CONTROLCONF);
|
||||
const QString configFile = getEnvironmentVariable(ENV_VARIABLE_CONTROLCONF);
|
||||
if (!configFile.isEmpty())
|
||||
fileSection = QString("\t\t%1").arg(configFile);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user