Important: Please read the Qt Code of Conduct -

Android: how to update application name?

  • Hi all,

    it is, I hope, a very easy thing to do, but I can't find how to do it :(

    In my AndroidManifest.xml, there is a string called @string/app_name and would like to know how to change the content of this string and where Qt and/or Android take the content for this string?
    I can't find the answer with Google.

  • Moderators

    I don't see it in my manifests... But in general, changing app name can be done by changing your QApplication name, domain etc.

  • @sierdzio Thanks for your quick reply. I found out that qmake/androiddeployqt create a file string.xml "on the fly".
    To solve my issue, I changed the manifest to set the string content I want... It was the easiest way, but I still have interest which is the "right way" to do it.

  • Moderators

    That file is created in template dir/res? Then you can create it yourself in there. Or use Project->Build->Build APK->Create Templates in Qt Creator to have it generated and you can modify it on disk.

Log in to reply