diff options
Diffstat (limited to 'tools/devtool/main.cpp')
-rw-r--r-- | tools/devtool/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/devtool/main.cpp b/tools/devtool/main.cpp index 208ef148e..52db7d8b3 100644 --- a/tools/devtool/main.cpp +++ b/tools/devtool/main.cpp @@ -1,6 +1,6 @@ /************************************************************************** ** -** Copyright (C) 2017 The Qt Company Ltd. +** Copyright (C) 2021 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Installer Framework. @@ -37,6 +37,7 @@ #include <fileutils.h> #include <init.h> #include <utils.h> +#include <loggingutils.h> #include <QCoreApplication> #include <QCommandLineParser> @@ -161,7 +162,7 @@ int main(int argc, char *argv[]) return fail(QString::fromLatin1("\"%1\" is not a devtool command.").arg(command)); QInstaller::init(); - QInstaller::setVerbose(parser.isSet(verbose)); + QInstaller::LoggingHandler::instance().setVerbose(parser.isSet(verbose)); QString bundlePath; QString path = QFileInfo(arguments.first()).absoluteFilePath(); |