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. Android: how to update application name?
Servers for Qt installer are currently down

Android: how to update application name?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 614 Views 1 Watching
  • 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.
  • K Offline
    K Offline
    KroMignon
    wrote on 23 Apr 2020, 08:59 last edited by
    #1

    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.

    It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 23 Apr 2020, 09:28 last edited by
      #2

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

      (Z(:^

      K 1 Reply Last reply 23 Apr 2020, 09:37
      0
      • S sierdzio
        23 Apr 2020, 09:28

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

        K Offline
        K Offline
        KroMignon
        wrote on 23 Apr 2020, 09:37 last edited by
        #3

        @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.

        It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sierdzio
          Moderators
          wrote on 23 Apr 2020, 11:07 last edited by
          #4

          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.

          (Z(:^

          1 Reply Last reply
          0

          1/4

          23 Apr 2020, 08:59

          • Login

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