Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qlibraryinfo.cpp File Reference

(c596e7af24473bfdbfb9491fef810c32bcd4ac38)

#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>
Include dependency graph for qlibraryinfo.cpp:

Go to the source code of this file.

Macros

#define COMPILER_STRING   "<unknown compiler>"
#define DEBUG_STRING   " debug"
#define SHARED_STRING   " static"

Functions

void qDumpCPUFeatures ()
static const char * qt_build_string () noexcept
static QString prefixFromAppDirHelper ()
static QString getPrefix (QLibraryInfoPrivate::UsageMode usageMode)
static bool keepQtBuildDefaults ()
static bool pathIsRelative (const QString &path)
static bool pathIsAbsolute (const QString &path)

Macro Definition Documentation

◆ COMPILER_STRING

#define COMPILER_STRING   "<unknown compiler>"

Definition at line 208 of file qlibraryinfo.cpp.

◆ DEBUG_STRING

#define DEBUG_STRING   " debug"

Definition at line 213 of file qlibraryinfo.cpp.

◆ SHARED_STRING

#define SHARED_STRING   " static"

Definition at line 218 of file qlibraryinfo.cpp.

Function Documentation

◆ getPrefix()

QString getPrefix ( QLibraryInfoPrivate::UsageMode usageMode)
static

Definition at line 452 of file qlibraryinfo.cpp.

◆ keepQtBuildDefaults()

bool keepQtBuildDefaults ( )
static

Definition at line 541 of file qlibraryinfo.cpp.

◆ pathIsAbsolute()

bool pathIsAbsolute ( const QString & path)
static

Definition at line 616 of file qlibraryinfo.cpp.

◆ pathIsRelative()

bool pathIsRelative ( const QString & path)
static

Definition at line 610 of file qlibraryinfo.cpp.

◆ prefixFromAppDirHelper()

QString prefixFromAppDirHelper ( )
static

Used to look up the prefix path for static builds, where we don't have a standalone QtCore library, or for relative paths coming from qt.conf, which are rooted in the app's location.

Definition at line 284 of file qlibraryinfo.cpp.

◆ qDumpCPUFeatures()

QT_FUNCTION_TARGET_BASELINE void qDumpCPUFeatures ( )
extern

Definition at line 683 of file qsimd.cpp.

References detectProcessorFeatures(), features_indices, features_string, qCompilerCpuFeatures, and SimdInitialized.

Here is the call graph for this function:

◆ qt_build_string()

const char * qt_build_string ( )
staticnoexcept

Definition at line 220 of file qlibraryinfo.cpp.