Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. How to change the application name? (PyQt5)
Forum Updated to NodeBB v4.3 + New Features

How to change the application name? (PyQt5)

Scheduled Pinned Locked Moved Unsolved Qt for Python
4 Posts 3 Posters 1.7k 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.
  • Ard_FlamingoA Offline
    Ard_FlamingoA Offline
    Ard_Flamingo
    wrote on last edited by Ard_Flamingo
    #1

    Currently when I launch the app, it says "Python". I've tried many things including setApplicationName() and setApplicationDisplayName() (of the QApplication()). The title bar of the window of the app shows the correct name though.
    Is there any way I can change the name?

    JonBJ 1 Reply Last reply
    0
    • Ard_FlamingoA Ard_Flamingo

      Currently when I launch the app, it says "Python". I've tried many things including setApplicationName() and setApplicationDisplayName() (of the QApplication()). The title bar of the window of the app shows the correct name though.
      Is there any way I can change the name?

      JonBJ Online
      JonBJ Online
      JonB
      wrote on last edited by
      #2

      @Ard_Flamingo said in How to change the application name? (PyQt5):

      Currently when I launch the app, it says "Python".

      What "says Python"? Especially since you say "The title bar of the window of the app shows the correct name though.".

      1 Reply Last reply
      0
      • Ard_FlamingoA Offline
        Ard_FlamingoA Offline
        Ard_Flamingo
        wrote on last edited by Ard_Flamingo
        #3

        Screenshot 2023-01-11 at 2.45.09 PM.png

        Right here in MacOS' menu bar. The title bar I referred to is part of the application window:

        Screenshot 2023-01-11 at 2.46.08 PM.png

        Maybe a symlink would work?

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

          Hi,

          This stack overflow thread might help.

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

          1 Reply Last reply
          2

          • Login

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