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. Window Name not changing
Qt 6.11 is out! See what's new in the release blog

Window Name not changing

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 4 Posters 605 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.
  • B Offline
    B Offline
    buzz_lightzyear
    wrote on last edited by
    #1

    Hello!

    I have a problem with the QT Creator. I want to change the name of my MainWindow in the QT Creator but it isn working... pls take a look at the screenshot. Can some tell me where the problem is? I dont want to change the name in the code because I think it should work this way.

    Thx :-)

    Screenshot_20220513_095935.png

    jsulmJ 1 Reply Last reply
    0
    • B buzz_lightzyear

      Hello!

      I have a problem with the QT Creator. I want to change the name of my MainWindow in the QT Creator but it isn working... pls take a look at the screenshot. Can some tell me where the problem is? I dont want to change the name in the code because I think it should work this way.

      Thx :-)

      Screenshot_20220513_095935.png

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

      @buzz_lightzyear Did you reabuild your app?
      Try complete rebuild:

      • Delete build folder
      • Run qmake
      • build

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

      1 Reply Last reply
      2
      • B Offline
        B Offline
        buzz_lightzyear
        wrote on last edited by
        #3

        Hey :-)

        I have done that... nothing happens :-(

        1 Reply Last reply
        0
        • Christian EhrlicherC Online
          Christian EhrlicherC Online
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Then your ui file is not used by your project. Make sure you edit the correct ui file and you don't set the window title elsewhere in your code.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          B 1 Reply Last reply
          3
          • Christian EhrlicherC Christian Ehrlicher

            Then your ui file is not used by your project. Make sure you edit the correct ui file and you don't set the window title elsewhere in your code.

            B Offline
            B Offline
            buzz_lightzyear
            wrote on last edited by
            #5

            @Christian-Ehrlicher said in Window Name not changing:

            Then your ui file is not used by your project. Make sure you edit the correct ui file and you don't set the window title elsewhere in your code.

            omg... thats the reason and thats embarrassing. I have moved a button an nothing happens on the gui. I cannot explain how that happen.

            Thank you for your help.

            Good Bye!

            Thank YouT 1 Reply Last reply
            0
            • B buzz_lightzyear

              @Christian-Ehrlicher said in Window Name not changing:

              Then your ui file is not used by your project. Make sure you edit the correct ui file and you don't set the window title elsewhere in your code.

              omg... thats the reason and thats embarrassing. I have moved a button an nothing happens on the gui. I cannot explain how that happen.

              Thank you for your help.

              Good Bye!

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

              @buzz_lightzyear Hey just a suggestion, mark his answer as correct

              Let's make QT free or It will go forever

              TRUE AND FALSE <3

              1 Reply Last reply
              1

              • Login

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