8#include <QtCore/qstring.h>
9#include <QtCore/qdatetime.h>
10#include <QtCore/qversionnumber.h>
17 static const char *build()
noexcept;
19 [[nodiscard]] Q_DECL_CONST_FUNCTION
static bool isDebugBuild()
noexcept;
20 [[nodiscard]] Q_DECL_CONST_FUNCTION
static bool isSharedBuild()
noexcept;
22#ifndef QT_BOOTSTRAPPED
23 Q_DECL_CONST_FUNCTION
static QVersionNumber version()
noexcept;
31 LibraryExecutablesPath,
35 Qml2ImportsPath = QmlImportsPath,
45 static QString path(LibraryPath p);
46 static QStringList paths(LibraryPath p);
47#if QT_DEPRECATED_SINCE(6
, 0
)
48 using LibraryLocation = LibraryPath;
49 QT_DEPRECATED_VERSION_X_6_0(
"Use path()")
50 static QString location(LibraryLocation location)
51 {
return path(location); }
53 static QStringList platformPluginArguments(
const QString &platformName);
59#if QT_DEPRECATED_SINCE(6
, 9
)
61QT_DEPRECATED_VERSION_X_6_9(
"Use QLibraryInfo::isSharedBuild() instead.")
62Q_CORE_EXPORT Q_DECL_CONST_FUNCTION
bool qSharedBuild()
noexcept;
Combined button and popup list for selecting options.
#define QFILE_MAYBE_EXPLICIT
static const char * qt_build_string() noexcept
static bool pathIsRelative(const QString &path)
static QString getPrefix(QLibraryInfoPrivate::UsageMode usageMode)
static bool pathIsAbsolute(const QString &path)
static QString prefixFromAppDirHelper()
static bool keepQtBuildDefaults()
bool contains(QLatin1StringView str, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept
qsizetype indexOf(const QString &str, qsizetype from=0, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept
bool contains(const QString &str, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept
QStringList filter(const QLatin1StringMatcher &matcher) const
void sort(Qt::CaseSensitivity cs=Qt::CaseSensitive)
QString join(const QString &sep) const
qsizetype indexOf(QStringView needle, qsizetype from=0, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept
QStringList & replaceInStrings(const QString &before, const QString &after, Qt::CaseSensitivity cs=Qt::CaseSensitive)
QString join(QStringView sep) const
qsizetype lastIndexOf(QStringView str, qsizetype from=-1, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept
QStringList filter(QLatin1StringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
qsizetype removeDuplicates()
QStringList filter(const QString &str, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
QStringList & replaceInStrings(QStringView before, const QString &after, Qt::CaseSensitivity cs=Qt::CaseSensitive)
QStringList & replaceInStrings(QStringView before, QStringView after, Qt::CaseSensitivity cs=Qt::CaseSensitive)
QStringList & replaceInStrings(const QString &before, QStringView after, Qt::CaseSensitivity cs=Qt::CaseSensitive)
QStringList filter(const QStringMatcher &matcher) const
qsizetype lastIndexOf(const QString &str, qsizetype from=-1, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept