Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.5.1
-
None
-
Windows
-
a7397a37145cd226f0a8a7bf89bd51cdc1b69025
Description
Creating a qml Menu dynamically , always gives console warning.
Please find the test application as attached.
Steps followed,
- For Building used Qt5.5.1 MSVC2013 64bit
- Application has one QML window and mousearea filled to it.
- On MouseArea doubleClicked , creating custom menu using Utility.createCustomMenu() method
-Menu will be launched
-check the console / application logs
output observed :
Starting E:\Qt\sampleapps\testQMLMenu\debug\testQMLMenu.exe...
QML debugging is enabled. Only use this in a safe environment.
file:///E:/Qt/Qt5.5.1/5.5/msvc2013_64/qml/QtQuick/Controls/Menu.qml:149: TypeError: Cannot read property '__contentItem' of null
qml: about to hide
qml: cut menu clicked