Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
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
// Qt-Security score:significant reason:default
5
6
#
ifndef
QLIBRARYINFO_P_H
7
#
define
QLIBRARYINFO_P_H
8
9
//
10
// W A R N I N G
11
// -------------
12
//
13
// This file is not part of the Qt API. It exists for the convenience
14
// of a number of Qt sources files. This header file may change from
15
// version to version without notice, or even be removed.
16
//
17
// We mean it.
18
//
19
20
#
include
"QtCore/qlibraryinfo.h"
21
#
include
"QtCore/private/qglobal_p.h"
22
23
#
if
QT_CONFIG
(
settings
)
24
#
include
"QtCore/qsettings.h"
25
#
endif
26
#
include
"QtCore/qstring.h"
27
28
QT_BEGIN_NAMESPACE
29
30
class
Q_CORE_EXPORT QLibraryInfoPrivate final
31
{
32
public
:
33
#
if
QT_CONFIG
(
settings
)
34
static
QSettings *configuration();
35
static
void
setQtconfManualPath(
const
QString *qtconfManualPath);
36
// Expands $(VAR) placeholders with the value of the VAR environment
37
// variable, and converts native separators to '/'.
38
static
QString expandEnvVariables(QString path);
39
#
endif
40
41
static
void
reload();
42
43
struct
LocationInfo
44
{
45
QString key;
46
QString defaultValue;
47
QString fallbackKey;
48
};
49
50
static
LocationInfo locationInfo(QLibraryInfo::LibraryPath loc);
51
static
QString path(QLibraryInfo::LibraryPath p);
52
static
QStringList paths(QLibraryInfo::LibraryPath p);
53
54
private
:
55
static
QStringList qtConfPaths(QLibraryInfo::LibraryPath location);
56
static
QStringList appPaths(QLibraryInfo::LibraryPath location);
57
static
QStringList qtPaths(QLibraryInfo::LibraryPath location);
58
};
59
60
QT_END_NAMESPACE
61
62
#
endif
// QLIBRARYINFO_P_H
ARCH_FULL
#define ARCH_FULL
Definition
archdetect.cpp:119
QLibraryInfo
\inmodule QtCore
Definition
qlibraryinfo.h:15
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
fromRawStringView
static QString fromRawStringView(QStringView string)
Definition
qlibraryinfo.cpp:43
pathIsRelative
static bool pathIsRelative(const QString &path)
Definition
qlibraryinfo.cpp:48
qDumpCPUFeatures
void qDumpCPUFeatures()
Definition
qsimd.cpp:687
SHARED_STRING
#define SHARED_STRING
Definition
qlibraryinfo.cpp:322
COMPILER_STRING
#define COMPILER_STRING
Definition
qlibraryinfo.cpp:312
DEBUG_STRING
#define DEBUG_STRING
Definition
qlibraryinfo.cpp:317
QLibraryPrefixes
Definition
qlibraryinfo.cpp:59
QLibraryPrefixes::qtPrefix
static QString qtPrefix()
Definition
qlibraryinfo.cpp:614
QLibraryPrefixes::appPrefix
static QString appPrefix()
Definition
qlibraryinfo.cpp:468
qtbase
src
corelib
global
qlibraryinfo_p.h
Generated on
for Qt by
1.18.0