Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Change title of the top window in taskmanager
Forum Update on Monday, May 27th 2025

Change title of the top window in taskmanager

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 4 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.
  • R Offline
    R Offline
    raketmus
    wrote on last edited by
    #1

    Hi, how can i change the window title and icon or entirely remove this window.
    This is the window i am talking about 3255515d-46b8-42d8-bdab-462803d81f66-image.png
    I only want the bottom one and don't understand why i can edit or delete the top one.

    jsulmJ Thank YouT 2 Replies Last reply
    0
    • R raketmus

      Hi, how can i change the window title and icon or entirely remove this window.
      This is the window i am talking about 3255515d-46b8-42d8-bdab-462803d81f66-image.png
      I only want the bottom one and don't understand why i can edit or delete the top one.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @raketmus https://doc.qt.io/qt-5/qapplication.html#windowIcon-prop
      https://doc.qt.io/qt-5/qwidget.html#windowTitle-prop
      https://doc.qt.io/qt-5/qwidget.html#windowIcon-prop

      "I only want the bottom one and don't understand why i can edit or delete the top one" - hard to say without more information. I guess this Nebula.exe starts the other process (the bottom one)?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      4
      • Chris KawaC Offline
        Chris KawaC Offline
        Chris Kawa
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Task manager does not show windows. It shows processes. This picture shows a process running a Nebula.exe program that started a child process. Task manager has a set of heuristics to show useful information to the user. It will try various things to get a meaningful name shown, for example checking if the process's main window (if it has one) has a title.

        It would be helpful if you described this setup in more detail i.e. what processes you start and how (do you use QProcess for example). Is Nebula.exe your app or is that some sort of host that runs your app as its child?

        From the looks of it Nebula.exe is a windowless app (so task manager falls back to showing the executable name) that starts a child process and that child process has a window titled LECtXKtVvoK9. If you don't give your window an icon explicitly (like in the links @jsulm provided) it will get one from the executable. If the executable doesn't have it task manager will show a default one (like in your picture). Here's info on how to set an icon for the executable: Setting the Application Icon.

        R 1 Reply Last reply
        5
        • R raketmus

          Hi, how can i change the window title and icon or entirely remove this window.
          This is the window i am talking about 3255515d-46b8-42d8-bdab-462803d81f66-image.png
          I only want the bottom one and don't understand why i can edit or delete the top one.

          Thank YouT Offline
          Thank YouT Offline
          Thank You
          wrote on last edited by
          #4

          @raketmus

          For Icons
          Insert this in main.pro
          app-logo.ico means directory of icon

          RC_ICONS = app-logo.ico
          

          For another one, @Chris-Kawa and @jsulm had described more and dropped link

          Let's make QT free or It will go forever

          TRUE AND FALSE <3

          1 Reply Last reply
          0
          • Chris KawaC Chris Kawa

            Task manager does not show windows. It shows processes. This picture shows a process running a Nebula.exe program that started a child process. Task manager has a set of heuristics to show useful information to the user. It will try various things to get a meaningful name shown, for example checking if the process's main window (if it has one) has a title.

            It would be helpful if you described this setup in more detail i.e. what processes you start and how (do you use QProcess for example). Is Nebula.exe your app or is that some sort of host that runs your app as its child?

            From the looks of it Nebula.exe is a windowless app (so task manager falls back to showing the executable name) that starts a child process and that child process has a window titled LECtXKtVvoK9. If you don't give your window an icon explicitly (like in the links @jsulm provided) it will get one from the executable. If the executable doesn't have it task manager will show a default one (like in your picture). Here's info on how to set an icon for the executable: Setting the Application Icon.

            R Offline
            R Offline
            raketmus
            wrote on last edited by
            #5

            @Chris-Kawa I am using QML with a GUIApplication, inside QML i am using a Window that is frameless. My whole app appears to be living inside the child window, i am not creating any other windows then my main window.

            It doesn't seem that frameless has a affect on the window setup and still creates a child window.

            Setting RC_ICONS those work though and sets the logo for both windows, now i would just like to be able to change Nebula.exe to my own text

            Thank YouT 1 Reply Last reply
            0
            • R raketmus

              @Chris-Kawa I am using QML with a GUIApplication, inside QML i am using a Window that is frameless. My whole app appears to be living inside the child window, i am not creating any other windows then my main window.

              It doesn't seem that frameless has a affect on the window setup and still creates a child window.

              Setting RC_ICONS those work though and sets the logo for both windows, now i would just like to be able to change Nebula.exe to my own text

              Thank YouT Offline
              Thank YouT Offline
              Thank You
              wrote on last edited by
              #6

              @raketmus

              Setting RC_ICONS those work though and sets the logo for both windows, now i would just like to be able to change Nebula.exe to my own text

              So glad that I could Help you.

              For changing the name of application.

              You can simply change the application name in your folder
              LIKE
              92e6fe48-a76f-48d1-b489-3118e207b11a-image.png
              Just rename it. And same name will be displayed in task manager

              Let's make QT free or It will go forever

              TRUE AND FALSE <3

              R 1 Reply Last reply
              0
              • Thank YouT Thank You

                @raketmus

                Setting RC_ICONS those work though and sets the logo for both windows, now i would just like to be able to change Nebula.exe to my own text

                So glad that I could Help you.

                For changing the name of application.

                You can simply change the application name in your folder
                LIKE
                92e6fe48-a76f-48d1-b489-3118e207b11a-image.png
                Just rename it. And same name will be displayed in task manager

                R Offline
                R Offline
                raketmus
                wrote on last edited by
                #7

                @Thank-You Is this possible at runtime?
                The solution works but is not runtime and cannot remove .exe from the name

                Thank YouT 1 Reply Last reply
                0
                • R raketmus

                  @Thank-You Is this possible at runtime?
                  The solution works but is not runtime and cannot remove .exe from the name

                  Thank YouT Offline
                  Thank YouT Offline
                  Thank You
                  wrote on last edited by
                  #8

                  @raketmus
                  I am sure executable name is same as project name at very first.

                  For runtime I guess
                  You can generate copy of that executable to another one and rename to it. When You close the application, Make something which will delete the older one and keep the new one.
                  Like uninstaller, It deletes everything and itself too. Here you don't delete everything but delete itself.
                  I only know this one. Maybe changing windows

                  Let's make QT free or It will go forever

                  TRUE AND FALSE <3

                  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