diff options
author | Tomasz Kozłowski <tomasz.kozlowski@qt.io> | 2023-12-14 11:59:07 +0100 |
---|---|---|
committer | Tomasz Kozłowski <tomasz.kozlowski@qt.io> | 2024-01-09 04:04:22 +0100 |
commit | b09a70ce614faa8b0beaa86af2acb9b10a25aac8 (patch) | |
tree | 8d54ce3b194c84d23a864494aa8ab5c8757546a5 /src/plugins/platforms/eglfs/api/qeglfsintegration_p.h | |
parent | bb07c4a37be383f27a2473400fbe3cda730eebd3 (diff) |
Add styleHint function override for QEglFSIntegration
Without this change, while using EglFS, showIsFullscreen returns false,
which is not true, because EglFS always runs in fullscreen.
This change requires setting QT_QPA_PLATFORM_PLUGIN_PATH
environmental variable.
Pick-to: 6.7
Task-number: QTBUG-115777
Change-Id: Ie7cf709e002ac70d95fe5e2698d2ee7b52e08094
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'src/plugins/platforms/eglfs/api/qeglfsintegration_p.h')
-rw-r--r-- | src/plugins/platforms/eglfs/api/qeglfsintegration_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/eglfs/api/qeglfsintegration_p.h b/src/plugins/platforms/eglfs/api/qeglfsintegration_p.h index 3e4c57197e..8007167ec7 100644 --- a/src/plugins/platforms/eglfs/api/qeglfsintegration_p.h +++ b/src/plugins/platforms/eglfs/api/qeglfsintegration_p.h @@ -76,6 +76,8 @@ public: QFunctionPointer platformFunction(const QByteArray &function) const override; + QVariant styleHint(QPlatformIntegration::StyleHint hint) const override; + QFbVtHandler *vtHandler() { return m_vtHandler.data(); } QPointer<QWindow> pointerWindow() { return m_pointerWindow; } |