summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/utils.h
diff options
context:
space:
mode:
authorArttu Tarkiainen <arttu.tarkiainen@qt.io>2020-09-22 14:01:09 +0300
committerKatja Marttila <katja.marttila@qt.io>2020-10-01 08:13:11 +0300
commit4bf453fb84c67283c85180dcf964526534f0ef72 (patch)
tree1df9eda51c5572e39faae76ce8f28edce9c88f3b /src/libs/installer/utils.h
parent2608853637d0bd98345c67a79656ff441209d60c (diff)
Expand the sanity check for mutually exclusive options
Task-number: QTIFW-1744 Change-Id: I4a4fdcd2517028e05f9282c15a91a4fb83c24901 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Diffstat (limited to 'src/libs/installer/utils.h')
-rw-r--r--src/libs/installer/utils.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libs/installer/utils.h b/src/libs/installer/utils.h
index 74cc4917c..055f5cc0f 100644
--- a/src/libs/installer/utils.h
+++ b/src/libs/installer/utils.h
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** Copyright (C) 2017 The Qt Company Ltd.
+** Copyright (C) 2020 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Installer Framework.
@@ -30,6 +30,7 @@
#define QINSTALLER_UTILS_H
#include "installer_global.h"
+#include "commandlineparser.h"
#include <QtCore/QBuffer>
#include <QtCore/QCryptographicHash>
@@ -66,6 +67,8 @@ namespace QInstaller {
bool INSTALLER_EXPORT isVerbose();
uint INSTALLER_EXPORT verboseLevel();
+ QStringList INSTALLER_EXPORT checkMutualOptions(CommandLineParser &parser, const QStringList &options);
+
INSTALLER_EXPORT std::ostream& operator<<(std::ostream &os, const QString &string);
class INSTALLER_EXPORT VerboseWriterOutput