Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to specify the name of the apk built



  • 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,


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    It's all described here



  • 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


  • Lifetime Qt Champion

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


Log in to reply