- 
    
Suggestion
 - 
    Resolution: Fixed
 - 
    
  Not Evaluated                     
     - 
    None
 
QQuickMenu::popup() is currently uncompilable (see https://github.com/qt/qtdeclarative/blob/dev/src/quicktemplates/qquickmenu_p.h#L100):
Q_REVISION(2, 3) Q_INVOKABLE void popup(QQmlV4Function *args);
Code
import QtQuick.Controls.Basic ApplicationWindow { width: 640 height: 480 visible: true Menu { id: contextMenu } Component.onCompleted: contextMenu.popup() }
qmlsc output
Warning: Main.qml:9:37: Could not compile binding for onCompleted: Cannot generate efficient code for call to untyped JavaScript function [compiler]
    Component.onCompleted: contextMenu.popup()
                                       ^^^^^
- split from
 - 
                    
QTBUG-105139 Remove usages of QQmlV4Function wherever possible
-         
 - Reported
 
 -