Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.3.2
-
None
Description
Namespace name has to be explicitly used for QML compatibility, which is especially painful because there is no compile-time check for that.
The earlier bug was resolved by documenting the issue, but it turns out that the section If a C++ class which defines a QML type is declared inside a namespace … disappeared, when registercpptypes.qdoc was moved to definetypes.qdoc.
Is there any chance to make Q_INVOKABLE compatible with C++ namespaces or compile-time check the type or at least re-document the issue?
Attachments
Issue Links
- relates to
-
QTBUG-8895 namespaces are not supported in signal parameters.
-
- Closed
-