Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qtest_quickcontrols_p.h File Reference

(4ba4600606ab849a5fa997950dd031ba111b9911)

#include <QtTest/qtest.h>
#include <QtTest/private/qtestresult_p.h>
#include <QtGui/qguiapplication.h>
#include <QtQml/qqml.h>
#include <QtQuickControls2/qquickstyle.h>
#include <QtQuickControls2/private/qquickstyle_p.h>
Include dependency graph for qtest_quickcontrols_p.h:

Go to the source code of this file.

Macros

#define QTEST_QUICKCONTROLS_MAIN(TestCase)

Functions

QStringList testStyles ()
int runTests (QObject *testObject, int argc, char *argv[])

Macro Definition Documentation

◆ QTEST_QUICKCONTROLS_MAIN

#define QTEST_QUICKCONTROLS_MAIN ( TestCase)
Value:
int main(int argc, char *argv[]) \
{ \
qputenv("QML_NO_TOUCH_COMPRESSION", "1"); \
QGuiApplication app(argc, argv); \
TestCase tc; \
QTEST_SET_MAIN_SOURCE_PATH \
return runTests(&tc, argc, argv); \
}
\macro qGuiApp
int main()
[open]
const GLfloat * tc
int runTests(QObject *testObject, int argc, char *argv[])

Definition at line 58 of file qtest_quickcontrols_p.h.

Function Documentation

◆ runTests()

int runTests ( QObject * testObject,
int argc,
char * argv[] )
inline

Definition at line 36 of file qtest_quickcontrols_p.h.

◆ testStyles()

QStringList testStyles ( )
inline

Definition at line 25 of file qtest_quickcontrols_p.h.