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

android: top level build failed with examples in tree

    XMLWordPrintable

Details

    • 2dd17fdf70 (qt/qtdeclarative/dev) 2dd17fdf70 (qt/tqtc-qtdeclarative/dev) fd87f90ae1 (qt/qtdeclarative/6.4) fd87f90ae1 (qt/tqtc-qtdeclarative/6.4)

    Description

      When configuring Qt with -DQT_BUILD_EXAMPLES=ON for Android platform, CMake fails with the following message:

       

      CMake Error at /Qt6/.build/android-x86_64/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:330 (message):
      {{ Output directory for target "coercion" is already used by another QML}}
      {{ module (target "adding"). Output directory is:}}/Qt6/.build/android-x86_64/android-qml/PeopleCall Stack (most recent call first):
      {{ /Qt6/.build/android-x86_64/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:695 (qt6_add_qml_module)}}
      {{ qtdeclarative/examples/qml/referenceexamples/coercion/CMakeLists.txt:30 (qt_add_qml_module)}}

       

      Every project under qtdeclarative/examples/qml/referenceexamples has a QML module named People, which should be the cause of this error.

       
       

      Attachments

        Issue Links

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

          Activity

            People

              semlanik Alexey Edelev
              leroy Haoyu Liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes