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

qml linting doesn't work with MSVC cmake generator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • dev
    • None
    • Windows

    Description

      CMake Error at C:/Users/torarne/build/qt/6.x/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:1066 (add_custom_command): TARGET 'all_qmllint' was not created in this directory.
      Call Stack (most recent call first):
      C:/Users/torarne/build/qt/6.x/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:992 (_qt_internal_add_all_qmllint_target)
      C:/Users/torarne/build/qt/6.x/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:2420 (_qt_internal_target_enable_qmllint)
      C:/Users/torarne/build/qt/6.x/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:644 (qt6_target_qml_sources)
      C:/Users/torarne/build/qt/6.x/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:772 (qt6_add_qml_module) CMakeLists.txt:35 (qt_add_qml_module)
      

      – Building for: Visual Studio 17 2022

      Attachments

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              vestbo Tor Arne Vestbø
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes