Details
Description
Hi,
It seems if my QML code using enum exposed to QML does not get compiled by qmlsc, then enum is undefined. Is this expected behavior?
See the attached example:
- using only import QtQuick.Controls instead of import QtQuick.Controls.Basic, then I cannot use the enums in onClicked of Button.
- if I put NO_CACHEGEN option in qt_add_qml_module() then all enums are undefined.
Thanks.