API reference
QmlSession
Owns QML bridge activation for C++, PySide6 and WebAssembly applications.
No matching API members.
fluent::qmlbridge::QmlSession
Inherits QObject
Constructors
Properties
bool active- Read
isActive()NotifyactiveChanged()
Methods
static void prepareApplication()Selects Qt Quick OpenGL before the first Quick surface is created.
static void prepareApplication(GraphicsApi api)Selects a Quick graphics API before the first Quick surface exists.
static bool isGraphicsApiCompatible(GraphicsApi api)Checks whether Quick can share the requested widget graphics API.
bool activate(QString* error = nullptr)Activates the bridge; repeating an active call is a no-op.
bool deactivate(QString* error = nullptr)Unloads tracked scenes, retaining caller-owned views and models.
QmlView* createView(QWidget* parent = nullptr)Creates a caller-owned view only while the session is active.
bool attachView(QmlView* view)Tracks an existing caller-owned view only while active.
Signals
Enumerations
enum class GraphicsApiSelects the graphics API shared by Quick and its native widget host.
AutomaticOpenGLDirect3D11Metal
Destructors
All inherited Qt members:QObject