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

QtCreator generates "DISTFILES" defines

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 4.10.2, Qt Creator 4.11.2, Qt Creator 4.12.3
    • Android Support
    • None
    • Windows, QtCreator 4.12

      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) should be used instead of DISTFILES 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.

            portale Alessandro Portale
            morte Maxim Bescherevnykh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes