Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Is it a bug?MessageDialog has not a 'tilte' property in Qt 5.6 quick?



  • MessageDialog {
            id: messageDialog
            title: qsTr("sffsd fdsf fdsf sfsd")
            function show(caption) {
                messageDialog.text = caption;
                messageDialog.open();
            }
        }
    

    There is a error tips in Qt Creator edit window,and has a error message in design window.
    'Can not open this QML document because of an error in the QML file:
    invalid property name "title".'

    Thanks.



  • Hi, and welcome to the Qt forum!
    Yes, it is a bug in Qt Creator. It's already in the bug tracker, see QTCREATORBUG-15766.


Log in to reply