Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-28663

Cannot open this QML document because of an error in the QML file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.8.2
    • Quick Designer
    • None
    • Linux/X11

    Description

      I create the empty application QtQuick on Deepin 20.8.

      I do not add anything and switch to Design mode for qml file.

      The error message:

      "Cannot open this QML document because of an error in the QML file.

      Line: 2: Errors while reading typeinfo files:

      Failed to parse "/usr/lib/x86 64-linux-gnu/qt5/gml/QtQuick/Window.2/

      plugins.gmltypes".

      Error: /usr/lib/x86 64-linux-gnu/gt5/gml/QtQuick/Window.2/plugins.gmltypes

      96:21: Expected object literal after colon.

      /usr/lib/x86 64-linux-gnu/qt5/qml/QtQuick/Window.2/plugins.qmltypes:106:21:

      Expected object literal after colon.

      /usr/lib/x86 64-linux-gnu/qt5/gml/QtQuick/Window.2/plugins.qmltypes:110:21:

      Expected object literal after colon.

      /usr/lib/x86 64-linux-gnu/qt5/qml/QtQuick/Window.2/plugins.qmltypes:114:21:

      Expected object literal after colon

      /usr/lib/x86 64-linux-gnu/qt5/qml/QtQuick/Window.2/plugins.gmltypes:227:21:

      Expected object literal after colon.

      /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Window.2/plugins.qmltypes:238:21:

      Expected object literal after colon

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thohartm Thomas Hartmann
            ice ice ll
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes