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

.qmlls.ini has wrong buildDir

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • 6.10
    • 6.9, 6.10
    • QML: Tooling
    • None

      Consider the following CMake code

       

      cmake_minimum_required(VERSION 3.30)
      
      set(CMAKE_AUTOMOC ON)
      
      find_package(Qt6 REQUIRED COMPONENTS Qml)
      
      qt_add_qml_module(foo URI "org.kde.foo")

      The project is in "/home/nico/workspace/qml-output-test".

       

      Now create a build folder in /home/nico/workspace/qml-output-test/build

      and configure the project with -DQT_QML_GENERATE_QMLLS_INI=ON

      The generated .qmlls.ini file has buildDir="/home/nico", instead of the expected /home/nico/workspace/qml-output-test/build

        1. src.tar.gz
          0.6 kB
          Fabian Kosmale
        For Gerrit Dashboard: QTBUG-138599
        # Subject Branch Project Status CR V

            sami.shalayel Sami Shalayel
            nicolasfella Nicolas Fella
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change