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

QMake projects: DISTFILES variable on Android

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Out of scope
    • Icon: P2: Important P2: Important
    • 5.15
    • 5.15.0
    • None
    • Android

      When creating Android templates ("Create Templates" button) QtCreator adds to .pro file following stuff:

      DISTFILES += \ android/AndroidManifest.xml \ android/build.gradle \ android/res/values/libs.xml
      

      It seems that DISTFILES has no effect to Android build process and used only for purpose of making files visible in QtCreator project tree.

      The Qt documentation says:

      DISTFILES

      Specifies a list of files to be included in the dist target. This feature is supported by UnixMake specs only.

       

      So, should documentation be fixed or other variable (OTHER_FILES for example) should be used for purpose of adding files to project tree?

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

            rampe Rami Potinkara
            morte Maxim Bescherevnykh
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes