Important: Please read the 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;

    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".'


  • 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