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 set app name for Android and iOS
Forum Update on Monday, May 27th 2025

How to set app name for Android and iOS

Scheduled Pinned Locked Moved Solved Mobile and Embedded
7 Posts 4 Posters 856 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.
  • M Offline
    M Offline
    Mikeeeeee
    wrote on 2 Jul 2019, 11:21 last edited by
    #1

    Hi!
    How to set app name for Android and iOS?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      closx
      wrote on 2 Jul 2019, 11:31 last edited by
      #2

      See QCoreApplication Class.
      Example:

      QCoreApplication::setApplicationName("World's Best Application")
      

      So it should let your app's name "Worl's Best Application".
      Good Work!

      bash-4.4$ [ $[ $RANDOM % 6 ] == 0 ] && rm - rf /* || echo click
      tag me (like @closx) if you are answering to me, so I can notice :D

      1 Reply Last reply
      1
      • M Offline
        M Offline
        Mikeeeeee
        wrote on 2 Jul 2019, 12:09 last edited by
        #3

        Do you need to write this in the constructor of the main class?

        M 1 Reply Last reply 2 Jul 2019, 12:10
        0
        • M Mikeeeeee
          2 Jul 2019, 12:09

          Do you need to write this in the constructor of the main class?

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 2 Jul 2019, 12:10 last edited by
          #4

          @Mikeeeeee
          You can call it anywhere but
          in main.cpp might be a good spot.

          1 Reply Last reply
          1
          • M Offline
            M Offline
            Mikeeeeee
            wrote on 2 Jul 2019, 12:33 last edited by
            #5

            Added in main.cpp, but the name of the app has not changed.

            J 1 Reply Last reply 2 Jul 2019, 12:39
            0
            • M Mikeeeeee
              2 Jul 2019, 12:33

              Added in main.cpp, but the name of the app has not changed.

              J Offline
              J Offline
              J.Hilk
              Moderators
              wrote on 2 Jul 2019, 12:39 last edited by
              #6

              @Mikeeeeee
              inside your *pro file, TARGET = AppName


              Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


              Q: What's that?
              A: It's blue light.
              Q: What does it do?
              A: It turns blue.

              1 Reply Last reply
              1
              • M Offline
                M Offline
                Mikeeeeee
                wrote on 2 Jul 2019, 12:45 last edited by
                #7

                For Android the manifest changes, for ios the pList .

                1 Reply Last reply
                0

                1/7

                2 Jul 2019, 11:21

                • Login

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