Details
-
Epic
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
-
None
-
Ensure QML Components are Design Studio Compatible
Description
Short description of what the Design Mode / QML puppet is about: https://doc.qt.io/qtdesignstudio/creator-qml-modules-with-plugins.html#running-qml-modules-in-design-mode
What we want:
- Avoiding unintended side effects (e.g., activating cameras, recording, or accessing hardware).
- Supporting a "design mode" where non-UI logic is disabled or mocked.
- Ensuring components behave predictably in the QML Puppet preview.
At the moment, there are different approaches:
- checking for the environment variable QML_PUPPET_MODE
- Qt Design Studio fixes in qtquick3dphysics https://codereview.qt-project.org/c/qt/qtquick3dphysics/+/500149
- or if it is an object under the engine: QQmlEnginePrivate::designerMode()
- Add designer support for animations and componentComplete https://codereview.qt-project.org/c/qt/qtdeclarative/+/39204
- Adding more DesignerSupport functions https://codereview.qt-project.org/c/qt/qtdeclarative/+/115756
Attachments
Issue Links
- relates to
-
QTBUG-111791 Spatial audio should not try to set up/play any audio when running in QDS editors
-
- Reported
-
-
QDS-13695 binary QML Settings (QSettings) gets overwritten
-
- Reported
-
-
QTBUG-101078 Qt Multimedia activates camera device if it runs in QML_PUPPET_MODE (Qt Design Studio)
-
- Open
-
-
QDS-9413 QtQuick3D Physics Shadowed Properties
-
- Closed
-