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

import QtQml 2.0 results in a 'QML module not found'-error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • Qt Creator 3.0.0, Qt Creator 3.1.0
    • Quick / QML Support
    • None
    • Windows 7
      Qt Creator 3.0.0
      Qt 5.2.0 MSVC2010 32bit

    Description

      In Qt 5 QtQml 2.0 is a valid (implicit) QML-modules (see http://qt-project.org/doc/qt-5.0/qtqml/qtqml-typereference-topic.html) that could be used in projects that don't make use of QtQuick.

      However while supported at runtime the Qt Creator code-checking complains with a "QML module not found"-error and refuses to detect the standard types like Component and Connections in the code completion.

      I would expect that Qt Creator has an implicit support for QtQml or that there exists a fake QtQml module which could be used by Qt Creator.

      Using QtQuick 2.0 would be a workaround but has its own problems like needless runtime dependency and warnings about graphical objects not placed in the graphics scene.

      Attachments

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

        Activity

          People

            mabenell Marco Benelli
            jmatokic Johannes Matokic
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes