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

Vulkan under qml example will not build for android on Windows

XMLWordPrintable

    • Android
    • 2023wk38FOQtforAndroid

      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. 

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes