diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2017-06-09 17:06:58 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2017-06-09 15:20:35 +0000 |
commit | da53f21bd3d8e2500c64585ea0f450ec1b3d63b0 (patch) | |
tree | 139d623533a0d9b46790e4ba022ba5c71c2a1b15 /src/app/qbs | |
parent | e44c4d94e09db1a8a0aff9863b9e0e4e91ce37b6 (diff) |
Switch to strict mode for property checking
We no longer remove properties between consecutive qbs versions, so
assignments to non-existing properties should be fatal when using the
command line tool, just like other types of errors.
Change-Id: Ic5f49826c50f4d30a2a338f5f26a746a691f142b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/app/qbs')
-rw-r--r-- | src/app/qbs/commandlinefrontend.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/qbs/commandlinefrontend.cpp b/src/app/qbs/commandlinefrontend.cpp index 48b7cbca5..5003cdfec 100644 --- a/src/app/qbs/commandlinefrontend.cpp +++ b/src/app/qbs/commandlinefrontend.cpp @@ -147,6 +147,7 @@ void CommandLineFrontend::start() params.setLogElapsedTime(m_parser.logTime()); params.setSettingsDirectory(m_settings->baseDirectory()); params.setOverrideBuildGraphData(m_parser.command() == ResolveCommandType); + params.setPropertyCheckingMode(ErrorHandlingMode::Strict); if (!m_parser.buildBeforeInstalling() || m_parser.command() == DumpNodesTreeCommandType) params.setRestoreBehavior(SetupProjectParameters::RestoreOnly); foreach (const QVariantMap &buildConfig, m_parser.buildConfigurations()) { |