Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qlibraryinfo_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 The Qt Company Ltd.
2// Copyright (C) 2016 Intel Corporation.
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
5#ifndef QLIBRARYINFO_P_H
6#define QLIBRARYINFO_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists for the convenience
13// of a number of Qt sources files. This header file may change from
14// version to version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include "QtCore/qlibraryinfo.h"
20#include "QtCore/private/qglobal_p.h"
21
22#if QT_CONFIG(settings)
23# include "QtCore/qsettings.h"
24#endif
25#include "QtCore/qstring.h"
26
28
29class Q_CORE_EXPORT QLibraryInfoPrivate final
30{
31public:
32#if QT_CONFIG(settings)
33 static QSettings *configuration();
34 static void reload();
35 static void setQtconfManualPath(const QString *qtconfManualPath);
36#endif
37
44
45 static LocationInfo locationInfo(QLibraryInfo::LibraryPath loc);
46
47 enum UsageMode {
49 UsedFromQtBinDir
50 };
51
52 static QString path(QLibraryInfo::LibraryPath p, UsageMode usageMode = RegularUsage);
53};
54
56
57#endif // QLIBRARYINFO_P_H
LibraryPath
\keyword library location
\inmodule QtCore
Definition qsettings.h:30
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
GLsizei const GLchar *const * path
GLfloat GLfloat p
[1]