I am trying to isolate ContextMenus, which are somewhat generic, i.e., have Edit+Delete options into a standalone QML file.
Simple question: how does one invoke the open() method from the Qt Component reference. The following code is wrong, but you can get a sense of what I am trying to do:
I had also tried the basic:Code:onPressAndHold: ProjectContextMenu {}.open()
but this results in the error:Code:onPressAndHold: ProjectContextMenu {}
advTHANKSanceCode:Cannot assign object type ContextMenu_QMLTYPE_57 with no default method



