Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. -- %%INSERT_APP_NAME%% -- how define that?
Forum Update on Monday, May 27th 2025

-- %%INSERT_APP_NAME%% -- how define that?

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
5 Posts 5 Posters 1.2k 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
    morte
    wrote on last edited by
    #1

    In Android projects QtCreator generates AndroidManifest.xml with -- %%INSERT_APP_NAME%% -- variables, i know its replaced with project (.pro) file name, but is it also supposed to define it in .pro file?

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

      Hi,

      IIRC, the TARGET variable is used to fill that placeholder.

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

      M 1 Reply Last reply
      2
      • SGaistS SGaist

        Hi,

        IIRC, the TARGET variable is used to fill that placeholder.

        M Offline
        M Offline
        malocode
        wrote on last edited by
        #3

        @SGaist If TARGET is set to a string containing spaces(My Game), the tool chain fails when linking the .so of the application.

        JonBJ 1 Reply Last reply
        2
        • M malocode

          @SGaist If TARGET is set to a string containing spaces(My Game), the tool chain fails when linking the .so of the application.

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @malocode
          It is not "customary" to put spaces into Linux file names. I don't know, but maybe if you tried "My Game" or even My\ Game perhaps that would work.

          1 Reply Last reply
          0
          • E Offline
            E Offline
            ELEKTRUS
            wrote on last edited by ELEKTRUS
            #5

            Insert this in your pro file in case you use qmake

            android {
                DEFINES += APPLICATION_NAME=\\\"YourAppName\\\"
            }
            
            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