Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-32441

Qt Creator does not automatically copy custom Android templates to project build directory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 14.0.1
    • Android Support
    • None
    • Android

    Description

      What?
      Android custom templates are not copied to build directory automatically after creation.

      How to reproduce
      Open or create a Qt Quick Application on Qt Creator and navigate to Projects -> Build Android APK -> Create Templates. You are prompted with a window asking for a destination for the Android package source directory.

      Assumption:
      After creating templates I assume that the custom templates are copied to the build directory's Android directory when building the project.

      What happens:
      Custom templates are not copied to build dir, instead some kind of default templates are copied. For this to happen you have to manually set the source directory of those templates in CmakeLists.txt with : https://doc.qt.io/qt-6/cmake-target-property-qt-android-package-source-dir.html.

      Could this possibly be automated?

      Attachments

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

        Activity

          People

            portale Alessandro Portale
            koalajar Konsta Alajärvi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes