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

qmlls cannot find the build directory

XMLWordPrintable

    • cc4688232 (dev)

      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)

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes