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

Configuring QML Modules with the XCode generator is broken due to qmllint

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS, macOS
    • ea7024ef7b (qt/qtdeclarative/dev) 96ee81abd9 (qt/qtdeclarative/6.3) 8042ecdb8b (qt/qtdeclarative/6.2) 8042ecdb8b (qt/tqtc-qtdeclarative/6.2) 96ee81abd9 (qt/tqtc-qtdeclarative/6.3) ea7024ef7b (qt/tqtc-qtdeclarative/dev) 8042ecdb8b (qt/qtdeclarative/6.2.4)

    Description

      Configuring any module created via qt_add_qml_module containing QML_FILE entries will fail with the following message:

      CMake Error in examples/ios/CMakeLists.txt:
        The custom command generating
      
       
      
          /Users/max/qt-dev/hackathon/build-qthealth-Qt_6_3_0_for_iOS/examples/ios/iosExample/WorkoutList.qml
      
       
      
        is attached to multiple targets:
      
       
      
          iosExample_tooling
          iosExample_qmllint
      
       
      
        but none of these is a common dependency of the other(s).  This is not
        allowed by the Xcode "new build system".
      

      This can be worked around by using NO_LINT (disabling qmllint) or using the older Xcode generator (-T buildsystem=1) for now.

      Attachments

        Issue Links

          Activity

            People

              alexandru.croitor Alexandru Croitor
              max.goldstein Maximilian Goldstein
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: