1// Copyright (C) 2024 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 QQMLTOOLINGUTILS_P_H
5#define QQMLTOOLINGUTILS_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtCore/qstring.h>
19#include <QtCore/qstringlist.h>
20#include <QtCore/qcommandlineparser.h>
21#include <QtCore/qcommandlineoption.h>
22
23QT_BEGIN_NAMESPACE
24
25class QQmlToolingUtils
26{
27private:
28 static void warnForInvalidDirs(const QStringList &dirs, const QString &origin);
29public:
30 static QStringList getAndWarnForInvalidDirsFromEnv(const QString &environmentVariableName);
31 static QStringList getAndWarnForInvalidDirsFromOption(const QCommandLineParser &parser,
32 const QCommandLineOption &option);
33};
34
35QT_END_NAMESPACE
36
37#endif // QQMLTOOLINGUTILS_P_H
38

Provided by KDAB

Privacy Policy
Learn Advanced QML with KDAB
Find out more

source code of qtdeclarative/src/qmltoolingsettings/qqmltoolingutils_p.h