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

JavaScript library has cyclic dependeny on itself when importing its own qml module

XMLWordPrintable

    • 0c24f5e3f (dev), 06dfe788d (6.9), c431643f7 (6.8), 97e6a37af (tqtc/lts-6.5)

      When adding a JS library file via qt_add_qml_module()'s QML_FILES it can result in a cylic dependency when the JS library imports the qml module it is part of.

      See attached reproducer. When adding the JS library file via RESSOURCES everything works fine but qmllint now does not know the types definded in JS.

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

            ulherman Ulf Hermann
            stefanbauer Stefan Bauer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: