Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Strange behaviour of GUI design and runtime GUI

    General and Desktop
    4
    5
    536
    Loading More Posts
    • 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.
    • ?
      Guest last edited by

      Hi,
      I have a project in which I created a GUI 2-3 months ago. It worked and still works very well. Now I decided to add some other elements such as buttons, text fields on GUI. In Qt Designer 4.0.3 I added the elements but if I run the program I don't see the new elements. It shows only old elements that previously (2-3 months ago) added.
      I bakced up and deleted *.ui file, the projects is of course not compiled. I backed up and deleted *.pro.user file, still the same, and there is no "Layout".
      Im adding pictures to explain clearly:

      In Qt Designer:

      alt text

      In Runtime exe:

      alt text

      What can be wrong?
      Thanks.

      1 Reply Last reply Reply Quote 0
      • kahlenberg
        kahlenberg last edited by

        Ohh sorry, I forget to log in.

        1 Reply Last reply Reply Quote 0
        • VRonin
          VRonin last edited by

          Try re-running qmake (build->run qmake in Qt Creator) and/or deleting the build directory

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          1 Reply Last reply Reply Quote 1
          • kahlenberg
            kahlenberg last edited by kahlenberg

            I forget to mention it. I cleaned the project, build directory, I re-run the qmake and re-build. Still same.

            1 Reply Last reply Reply Quote 0
            • p3c0
              p3c0 Moderators last edited by

              @kahlenberg Probably the build directory is still the old one ?

              157

              1 Reply Last reply Reply Quote 0
              • First post
                Last post