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

"Cannot generate qmltypes file" when trying to run in-app purchase demo app on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.10.0 Beta2
    • Examples and Demos
    • None
    • Android

    Description

      MacOS 15.4.1

      Qt Creator 17.0.0

      Qt 6.10.0 beta2

       

      Device: Samsung Galaxy S22 14.0

      Steps to reproduce:

      1. Open the demo app - https://doc.qt.io/qt-6/qtdoc-demos-hangman-example.html from Qt Creator's examples tab. 
      2. Select Android Qt 6.10.0 kit and try to run the app. 

      Expected: The app runs on the device as it is on Qt 6.9.2.

      Actual: Getting error, and the app cannot be run:

      Error: /Users/.../Qt/Examples/Qt-6.10.0/demos/hangman/build/Android_Qt_6_10_0_Clang_arm64_v8a-Debug/Hangman/hangman.qmltypes:: Cannot generate qmltypes file 

      NOTE: The app works fine when built with Qt 6.9.2.

      Reproducibility:  100% 

      Attachments

        Issue Links

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

          Activity

            People

              vhilshei Volker Hilsheimer
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes