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. Strange behaviour of GUI design and runtime GUI
QtWS25 Last Chance

Strange behaviour of GUI design and runtime GUI

Scheduled Pinned Locked Moved General and Desktop
5 Posts 4 Posters 915 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.
  • ? This user is from outside of this forum
    ? This user is from outside of this forum
    Guest
    wrote on last edited by
    #1

    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
    0
    • kahlenbergK Offline
      kahlenbergK Offline
      kahlenberg
      wrote on last edited by
      #2

      Ohh sorry, I forget to log in.

      1 Reply Last reply
      0
      • VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by
        #3

        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
        1
        • kahlenbergK Offline
          kahlenbergK Offline
          kahlenberg
          wrote on last edited by kahlenberg
          #4

          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
          0
          • p3c0P Offline
            p3c0P Offline
            p3c0
            Moderators
            wrote on last edited by
            #5

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

            157

            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