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

Can't detect QML module registered by qmlRegisterUncreatableMetaObject

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt Creator 4.6.1, Qt Creator 4.7.0-beta2
    • Quick / QML Support
    • None

    Description

      I register my namespace enum using qmlRegisterUncreatableMetaObject.

      When I edit QML code in Qt Creator, it:

      1. Shows me "QML module not found" warning at the module import line of code
      2. Does not show suggestions when I try to use enum.

      Anyway, my program works fine. So all the things are correct in my code.

      Attachments

        1. main.zip
          2 kB
        2. Untitled.png
          Untitled.png
          18 kB
        3. untitled2.zip
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tjenssen Tim Jenssen
            alervd Alexander Dyagilev
            Votes:
            7 Vote for this issue
            Watchers:
            16 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes