![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qdir.h"#include "qstringlist.h"#include "qfile.h"#include "qlibraryinfo.h"#include "qlibraryinfo_p.h"#include "qcoreapplication.h"#include "private/qcoreapplication_p.h"#include "private/qfilesystementry_p.h"#include "archdetect.cpp"#include "qconfig.cpp"#include <memory>Go to the source code of this file.
Classes | |
| struct | QLibraryPrefixes |
Macros | |
| #define | COMPILER_STRING "<unknown compiler>" |
| #define | DEBUG_STRING " debug" |
| #define | SHARED_STRING " static" |
Functions | |
| void | qDumpCPUFeatures () |
| static QString | fromRawStringView (QStringView stringstring) |
| static bool | pathIsRelative (const QString &pathpath) |
| static const char * | qt_build_string () noexcept |
| static bool | haveUserQtConf () |
| Returns whether we have a user-written qt.conf with explicit paths. | |
| static QStringList | makeAbsolute (QStringList pathspaths, QString(*resolveBaseDir)()) |
| #define COMPILER_STRING "<unknown compiler>" |
Definition at line 312 of file qlibraryinfo.cpp.
| #define DEBUG_STRING " debug" |
Definition at line 317 of file qlibraryinfo.cpp.
| #define SHARED_STRING " static" |
Definition at line 322 of file qlibraryinfo.cpp.
|
static |
Definition at line 43 of file qlibraryinfo.cpp.
|
static |
Returns whether we have a user-written qt.conf with explicit paths.
A user-written qt.conf is an expression of exclusivity: the application declares the layout it follows, so its paths replace the Qt ones, and the stable fallback-values from locationInfo() are rooted at the application prefix for the locations the qt.conf leaves out.
A qt.conf with MergeQtConf = true is an artifact generated by the Qt QML CMake machinery to support development builds, and does not qualify as a user-written qt.conf.
Definition at line 772 of file qlibraryinfo.cpp.
|
static |
Roots any relative entries in paths at the directory returned by resolveBaseDir, which is resolved lazily (only when there's actually a relative path to root, and at most once).
Definition at line 826 of file qlibraryinfo.cpp.
|
static |
Definition at line 48 of file qlibraryinfo.cpp.
|
extern |
Definition at line 687 of file qsimd.cpp.
References detectProcessorFeatures(), features_indices, features_string, qCompilerCpuFeatures, and SimdInitialized.
|
staticnoexcept |
Definition at line 324 of file qlibraryinfo.cpp.