C
QAndroidRaaSApplication Class
The QAndroidRaaSApplication class manages the rendering services's control flow and main settings. More...
| Header: | #include <QAndroidRaaSApplication> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS androidautomotiveservice)target_link_libraries(mytarget PRIVATE Qt6::androidautomotiveservice) |
| Since: | QtAndroidAutomotive 6.10 |
| Inherits: | QGuiApplication |
Macros
Detailed Description
QAndroidRaaSApplication contains the main event loop of a rendering service application, where all events are processed and dispatched. The usage is similar to that of its parent class QGuiApplication, except that the creation of QWindow instances is handled internally by a QAndroidSurfaceRenderEngine instance.
Example usage:
int main(int argc, char *argv[]) { QAndroidRaaSApplication app(argc, argv); QAndroidSurfaceRenderEngine renderEngine; renderEngine.load(QLatin1String(":/qt/qml/path/to/qmlmodule/Main.qml")); return app.exec(); }
See also QAndroidSurfaceRenderEngine.
Macro Documentation
qAndroidRaaSApplication
A global pointer referring to the unique application object. Only valid for use when that object is a QAndroidRaaSApplication.
See also QGuiApplication::instance() and qGuiApp.
Available under certain Qt licenses.
Find out more.