Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to specify the name of the apk built
QtWS25 Last Chance

How to specify the name of the apk built

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
apknamespecify
4 Posts 2 Posters 1.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bam500
    wrote on last edited by bam500
    #1

    Hi,

    I want to build an apk for an android tablet.
    Is that possible to specify the name of the apk built in the .pro file ?

    Something like : (for the app's)

    # specify the app name
    TARGET  = "AppName"
    

    Regards,

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      It's all described here

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • B Offline
        B Offline
        bam500
        wrote on last edited by
        #3

        Thank you SGaist for you reply,

        So if I understand well, by reading the article, the only variables we can set in the .pro file are :

        • ANDROID_DEPLOYMENT_DEPENDENCIES : the dependencies of the application
        • ANDROID_PACKAGE_SOURCE_DIR : a directory to add or modify the default Android package
        • ANDROID_EXTRA_LIBS : a list of external libraries that will be copied into the application's library folder and loaded on start-up. (can be used, for instance, to enable OpenSSL in the application)
        • ANDROID_EXTRA_PLUGINS : This variable can be used to specify different resources that your project has to bundle

        There's no way to specify the apk name in the .pro file, right ?

        Regards

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          AFAIK, no you can't. Look at Editing Manifest Files for that part

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved