Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-366

Possible false alarm of Qt Creator of not being able to parse qmltype file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt for MCUs 2.9.1
    • QML
    • None

    Description

      The easiest way to reproduce the problem is opening our "Qt Quick Ultralite layers Example" example (from MCU: https://doc.qt.io/QtForMCUs-2.9/quickultralite-layers-example.html).

      Then open "Layers.qml" in editor you will see such apparent parsing failure:

      The example originally only imports "Layers", but I also import other modules, i.e. "Extras" and "Profiling" in the same "QtQuickUltralite" module for testing purpose. The problematic file in screenshot is "Qt\QtMCUs\2.9.0\include\qul\QtQuickUltralite\Layers\QtQuickUltralite.Layers.qmltypes"
      and similarly the one for "Extras". The failure is said to happen at "0,0“, which does not make any sense to me to be honest. If that is true, then it is

      import QtQuick.tooling 1.1
      

      that is causing the problem. But if so, then why Profiling is all good? Plus, the project builds and runs correctly. So I think it should be some sort of weird false alarm.

      Attachments

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

        Activity

          People

            yasser Yasser Grimes
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes