1// Copyright (C) 2018 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
4#ifndef RUNQTTOOL_H
5#define RUNQTTOOL_H
6
7#include <QtCore/qlibraryinfo.h>
8#include <QtCore/qstring.h>
9#include <QtCore/qstringlist.h>
10#include <QtCore/qtemporaryfile.h>
11
12#include <memory>
13
14void runQtTool(const QString &toolName, const QStringList &arguments,
15 QLibraryInfo::LibraryPath location = QLibraryInfo::BinariesPath);
16void runInternalQtTool(const QString &toolName, const QStringList &arguments);
17std::unique_ptr<QTemporaryFile> createProjectDescription(QStringList args);
18
19#endif // RUNQTTOOL_H
20

source code of qttools/src/linguist/shared/runqttool.h