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

qmllint complains about "Member "bar" not found on type "module"" when calling function of JS module

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • None
    • 6.10.0
    • QML: Tooling
    • None

      Open isle/LibDebugUiUtils/qml/ConsoleView.qml from the attached project in Creator to reproduce the issue.

      I initially saw this with script.js, but it stopped happening after I added module.mjs. So both seem to be affected.

        1. cmakedeploytest.zip
          36 kB
          Mitch Curtis
        2. Screenshot 2025-10-17 at 10.24.40.png
          219 kB
          Mitch Curtis
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtqmlteam Qt Qml Team User
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes