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.
  • A Offline
    A Offline
    Ard_Flamingo
    wrote on 11 Jan 2023, 19:31 last edited by Ard_Flamingo 1 Nov 2023, 19:32
    #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?

    J 1 Reply Last reply 11 Jan 2023, 19:39
    0
    • A Ard_Flamingo
      11 Jan 2023, 19:31

      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?

      J Offline
      J Offline
      JonB
      wrote on 11 Jan 2023, 19:39 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
      • A Offline
        A Offline
        Ard_Flamingo
        wrote on 11 Jan 2023, 19:46 last edited by Ard_Flamingo 1 Nov 2023, 19:49
        #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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 11 Jan 2023, 19:50 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

          1/4

          11 Jan 2023, 19:31

          • 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