Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
None
-
None
-
46d1b5b5a9d8fd1fd6629afd67eec7b32fc840fc (qt/qtdeclarative/5.15)
Description
Q_GADGETs can't be used as pointers in QML, but I can't find this information in the documentation. It should be mentioned here: https://doc.qt.io/qt-5/qobject.html#Q_GADGET.
After trying several days to get up and running I found an answer on stack overflow saying that it is not possible to use pointers to Q_GADGETs in QML.
Attachments
Issue Links
- duplicates
-
QTBUG-54321 Is it really impossible to pass a Q_GADGET by pointer to QML?
- Reported
- relates to
-
QTBUG-54983 Create Q_GADGET objects in QML
- Closed