Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.4
-
None
Description
Found this issue, while trying the QML Recorder example in Multimedia in dev:
https://doc.qt.io/qt-6/qtmultimedia-multimedia-video-recorder-example.html
It looks like something goes wrong when applying the model to the Combobox because the Combobox accepts the model but reports it as not having any element (count() returns 0)
The model used in the Combobox is a QList<QCameraDevice>, with QCameraDevice being a Q_GADGET. But it does not appear in the Combobox model as QVariantList but as QVariant(QList<QCameraDevice>).
Happens in Android and macOS, the ones that I tested. Untested in other platforms.
Attachments
Issue Links
- relates to
-
QTBUG-50363 Document the constraints of ComboBox's model property
-
- Open
-