6#include <QtTest/qtestcase.h>
7#include <QtCore/qbytearray.h>
8#include <QtCore/qfile.h>
9#include <QtCore/qset.h>
10#include <QtCore/qcoreapplication.h>
11#include <QtCore/qvariant.h>
12#include <QtCore/QSysInfo>
13#include <QtCore/QOperatingSystemVersion>
132#if QT_POINTER_SIZE == 8
148# elif _MSC_VER <= 1700
150# elif _MSC_VER <= 1800
152# elif _MSC_VER <= 1900
154# elif _MSC_VER <= 1916
156# elif _MSC_VER <= 1929
163#ifdef Q_PROCESSOR_X86
166#ifdef Q_PROCESSOR_ARM
170#ifdef QT_BUILD_INTERNAL
193 if (!distributionName.
isEmpty()) {
197 if (distributionName ==
"macos") {
201 if (version.majorVersion() >= 11)
204 if (!distributionRelease.
isEmpty()) {
205 QByteArray versioned = distributionName +
"-" + distributionRelease;
208 if (distributionName ==
"macos") {
209 QByteArray versioned =
"osx-" + distributionRelease;
251 QFile ignored(filename);
257 while (!ignored.
atEnd()) {
260 if (commentPosition >= 0)
289 if (!ignore &&
data) {
297 if (!ignore &&
data) {
QList< QByteArray > split(char sep) const
Splits the byte array into subarrays wherever sep occurs, and returns the list of those arrays.
QByteArray & insert(qsizetype i, QByteArrayView data)
bool isEmpty() const noexcept
Returns true if the byte array has size 0; otherwise returns false.
static QByteArray number(int, int base=10)
Returns a byte-array representing the whole number n as text.
static QCoreApplication * instance() noexcept
Returns a pointer to the application's QCoreApplication (or QGuiApplication/QApplication) instance.
bool atEnd() const override
Returns true if the end of the file has been reached; otherwise returns false.
bool open(OpenMode flags) override
Opens the file using OpenMode mode, returning true if successful; otherwise false.
qint64 readLine(char *data, qint64 maxlen)
This function reads a line of ASCII characters from the device, up to a maximum of maxSize - 1 bytes,...
bool startsWith(parameter_type t) const
QVariant property(const char *name) const
Returns the value of the object's name property.
static QOperatingSystemVersion current()
[0]
bool contains(const T &value) const
\macro QT_RESTRICTED_CAST_FROM_ASCII
bool startsWith(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Returns true if the string starts with s; otherwise returns false.
void truncate(qsizetype pos)
Truncates the string at the given position index.
qsizetype size() const
Returns the number of characters in this string.
QString mid(qsizetype position, qsizetype n=-1) const
Returns a string that contains n characters of this string, starting at the specified position index.
QString simplified() const &
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
QString toLower() const &
static QString static QString qsizetype indexOf(QChar c, qsizetype from=0, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
QByteArray toUtf8() const &
static QString productType()
static QString productVersion()
static void setBlacklistCurrentTest(bool b)
bool isValid() const
Returns true if the storage type of this variant is not QMetaType::UnknownType; otherwise returns fal...
QByteArray toByteArray() const
Returns the variant as a QByteArray if the variant has userType() \l QMetaType::QByteArray or \l QMet...
Combined button and popup list for selecting options.
void checkBlackLists(const char *slot, const char *data, const char *global)
Q_TESTLIB_EXPORT QString qFindTestData(const char *basepath, const char *file=nullptr, int line=0, const char *builddir=nullptr, const char *sourcedir=nullptr)
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction function
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
#define QStringLiteral(str)
Q_CORE_EXPORT QByteArray qgetenv(const char *varName)
Q_CORE_EXPORT bool qEnvironmentVariableIsSet(const char *varName) noexcept
static std::set< QByteArray > * ignoredTests
static QSet< QByteArray > keywords()
static bool checkCondition(const QByteArray &condition)
static QSet< QByteArray > activeConditions()
QFuture< QSet< QChar > > set
[10]
QApplication app(argc, argv)
[0]