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

build failure on _qmllint_json project created by Qt 6.5 CMake qt_add_qml_module

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.0
    • Build System: CMake
    • None
    • Windows

    Description

      Create a dummy cmake plugin project with qt_add_qml_module.
      With Visual Studio generator, it will create pluginname_qmllint_json project and pluginname_qmllint_module project.
      project pluginname_qmllint_module can be built successfully. but for the project, it fails for
      pluginname_qmllint_json.rule
      the qmllint.exe path is not set for this rule.
      **

      for pluginname_qmllint_module.rule, the command line is:

      call C:\test\build\.qt\bin\qt_setup_tool_path.bat C:/Qt/6.5.0/msvc2019_64/bin/qmllint.exe -I C:/test/build/qml -I C:/Qt/6.5.0/msvc2019_64/./qml --resource ...
      **

      for pluginname_qmllint_json.rule, the command line is:

      --json C:/test/build/pluginname_qmllint.json

      As you can see, the qmllint.exe path is missing in the pluginname_qmllint_json.rule

      Attachments

        Activity

          People

            qtbuildsystem Qt Build System Team
            robbie_li Xiaowei Li
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: