Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-30409

QML_IMPORT_PATH can't have paths with symlinks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt Creator 4.13.2
    • Quick / QML Support
    • None

    Description

      Paths set in QML_IMPORT_PATH variable do not follow symbolic links, producing "QML module not found" errors when parsing QML's import statements in the editor.

      E.g, my /home is a symlink to /var/home, so for my CMake project, this QML_IMPORT_PATH variable in CMakeCache.txt doesn't work:

      QML_IMPORT_PATH:PATH=/home/bam/kde/usr/lib64/qml

      and this one works:

      QML_IMPORT_PATH:PATH=/var/home/bam/kde/usr/lib64/qml
      

      Both path are valid from OS's POV.

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            bam80 Andrey Butirsky
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes