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.cpp File Reference

(aa161b1e4e151bd8a019da9797f9e0d717e6d00f)

#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 200 of file qlibraryinfo.cpp.

Referenced by qt_build_string().

◆ DEBUG_STRING

#define DEBUG_STRING   " debug"

Definition at line 205 of file qlibraryinfo.cpp.

Referenced by qt_build_string().

◆ SHARED_STRING

#define SHARED_STRING   " static"

Definition at line 210 of file qlibraryinfo.cpp.

Referenced by qt_build_string().

Function Documentation

◆ getPrefix()

static QString getPrefix ( QLibraryInfoPrivate::UsageMode usageMode)
static

Definition at line 451 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 269 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 ( )
extern

Definition at line 613 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 212 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: