Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-127754

qmltc: cant use Qml component from a custom module

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • 6.9
    • 6.6, 6.7
    • QML: Compiler
    • None

    Description

      When using a Qml Module with a QML component in a Qml application with qmltc leads to compiler errors with the generated qmltc classes.

      See attached sample app.

      Should this work already ? I know about https://bugreports.qt.io/browse/QTBUG-96040 but the documentation is (at least for me) not clear about it.

      A custom C++ QML Component defined in the same module works fine.

      Attachments

        1. image-2024-08-05-14-07-07-164.png
          228 kB
          Stefan Bauer
        2. QmlTcWithQmlFileInModule.zip
          3 kB
          Stefan Bauer
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtqmlteam Qt Qml Team User
            stefanbauer Stefan Bauer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes