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

[REG] qt_add_qml_module broken for the VS generator when called in different subdirectories

    XMLWordPrintable

Details

    • All
    • 7c6ef1544 (tqtc/lts-6.5), ad6753ba7 (dev), dc327e192 (6.6)

    Description

      https://codereview.qt-project.org/c/qt/qtdeclarative/+/516745 introduced a regression for the CMake VS generators if qt_add_qml_module is called in different subdirectories.

      Such a project will error out with

      CMake Error at D:/dev/qt/dev-x86_64/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:1073 (add_custom_command):
        TARGET 'all_qmllint' was not created in this directory.
      

      Attachments

        Issue Links

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

          Activity

            People

              jbornema Joerg Bornemann
              jbornema Joerg Bornemann
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes