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

Vulkan under qml example will not build for android on Windows

    XMLWordPrintable

Details

    • Android
    • 2023wk38FOQtforAndroid

    Description

      Get the error:

      "No target architecture defined in json file"

      change the line in the cmake file 

      set_target_properties(vulkanunderqml PROPERTIES
          # Prevent name clash with build subdirectory on case-insensitive file systems
          OUTPUT_NAME vulkanunderqmlapp
      )

      to 

      set_target_properties(vulkanunderqml PROPERTIES
          WIN32_EXECUTABLE TRUE
          MACOSX_BUNDLE TRUE
      )

      and then it works. 

       

      Attachments

        Issue Links

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

          Activity

            People

              nick_bennett Nicholas Bennett
              nick_bennett Nicholas Bennett
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes