Files
qt-creator/src/plugins/qmakeprojectmanager/qmakesettings.h
hjk 3fab8be4b1 QmakeProjectManager: Delay settings creation until first use
The guinea pig.

Task-number: QTCREATORBUG-29167
Change-Id: Id0cbe77a5d7fcebbec71cd85cd017a71a0cba8ee
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-07-06 08:50:18 +00:00

25 lines
592 B
C++

// Copyright (C) 2019 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include <utils/aspects.h>
namespace QmakeProjectManager::Internal {
class QmakeSettings : public Utils::AspectContainer
{
public:
QmakeSettings();
bool runSystemFunction() { return !ignoreSystemFunction(); }
Utils::BoolAspect warnAgainstUnalignedBuildDir{this};
Utils::BoolAspect alwaysRunQmake{this};
Utils::BoolAspect ignoreSystemFunction{this};
};
QmakeSettings &settings();
} // QmakeProjectManager::Internal