Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qlibraryinfo.cpp File Reference
#include "qdir.h"
#include "qstringlist.h"
#include "qfile.h"
#include "qlibraryinfo.h"
#include "qlibraryinfo_p.h"
#include "qscopedpointer.h"
#include "qcoreapplication.h"
#include "private/qglobal_p.h"
#include "archdetect.cpp"
#include "qconfig.cpp"
+ 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)
 

Macro Definition Documentation

◆ COMPILER_STRING

#define COMPILER_STRING   "<unknown compiler>"

Definition at line 193 of file qlibraryinfo.cpp.

◆ DEBUG_STRING

#define DEBUG_STRING   " debug"

Definition at line 198 of file qlibraryinfo.cpp.

◆ SHARED_STRING

#define SHARED_STRING   " static"

Definition at line 203 of file qlibraryinfo.cpp.

Function Documentation

◆ getPrefix()

static QString getPrefix ( QLibraryInfoPrivate::UsageMode  usageMode)
static

Definition at line 439 of file qlibraryinfo.cpp.

References QString::fromLocal8Bit(), and Q_UNUSED.

Referenced by QLibraryInfoPrivate::path().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ prefixFromAppDirHelper()

static QString prefixFromAppDirHelper ( )
static

Definition at line 262 of file qlibraryinfo.cpp.

References QCoreApplication::applicationDirPath(), QDir::cleanPath(), QDir::currentPath(), and QCoreApplication::instance().

Referenced by QLibraryInfoPrivate::path().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ qDumpCPUFeatures()

void qDumpCPUFeatures ( )

Definition at line 623 of file qsimd.cpp.

References arraysize(), detectProcessorFeatures(), features_indices, features_string, i, minFeature, Q_UINT64_C, and qCompilerCpuFeatures.

+ Here is the call graph for this function:

◆ qt_build_string()

static const char * qt_build_string ( )
staticnoexcept

Definition at line 205 of file qlibraryinfo.cpp.

References ARCH_FULL, COMPILER_STRING, DEBUG_STRING, and SHARED_STRING.

Referenced by QLibraryInfo::build().

+ Here is the caller graph for this function: