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

qmlls cannot find the build directory

    XMLWordPrintable

Details

    • cc4688232 (dev)

    Description

      Qt Creator's qmlls integration currently does not support multi-module projects. It says:

      qmlls could not find a build directory, without a build directory containing a current build there could be spurious warnings, you might want to pass the --build-dir <buildDir> option to qmlls, or set the environment variable QMLLS_BUILD_DIRS.
      

      Consequently, qmlls cannot find and import the project modules.

       

      Workaround

      • Disable qmlls, OR
      • Set the environment variable QMLLS_BUILD_DIRS before launching Qt Creator (only feasible if the user is not working on multiple projects simultaneously)

      Attachments

        Issue Links

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

          Activity

            People

              qtqmlteam Qt Qml Team User
              skoh-qt Sze Howe Koh
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes