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
QLibraryInfoPrivate Class Referencefinal

#include <qlibraryinfo_p.h>

+ Collaboration diagram for QLibraryInfoPrivate:

Classes

struct  LocationInfo
 

Public Types

enum  UsageMode { RegularUsage , UsedFromQtBinDir }
 

Static Public Member Functions

static LocationInfo locationInfo (QLibraryInfo::LibraryPath loc)
 
static QString path (QLibraryInfo::LibraryPath p, UsageMode usageMode=RegularUsage)
 

Detailed Description

Definition at line 29 of file qlibraryinfo_p.h.

Member Enumeration Documentation

◆ UsageMode

Enumerator
RegularUsage 
UsedFromQtBinDir 

Definition at line 47 of file qlibraryinfo_p.h.

Member Function Documentation

◆ locationInfo()

QLibraryInfoPrivate::LocationInfo QLibraryInfoPrivate::locationInfo ( QLibraryInfo::LibraryPath loc)
static

Definition at line 461 of file qlibraryinfo.cpp.

References dot(), qOffsetStringArray(), and QLibraryInfo::SettingsPath.

Referenced by path().

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

◆ path()

QString QLibraryInfoPrivate::path ( QLibraryInfo::LibraryPath p,
UsageMode usageMode = RegularUsage )
static

Definition at line 532 of file qlibraryinfo.cpp.

References QDir::cleanPath(), QString::fromLocal8Bit(), QDir::fromNativeSeparators(), getPrefix(), QDir::isRelativePath(), locationInfo(), QStringView::mid(), prefixFromAppDirHelper(), QLibraryInfo::PrefixPath, Q_ASSERT, qgetenv(), ret, QLibraryInfo::SettingsPath, and QVariant::value().

Referenced by QLibraryInfo::path().

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

The documentation for this class was generated from the following files: