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 914 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 18 Oct 2016, 08:26 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
    • K Offline
      K Offline
      kahlenberg
      wrote on 18 Oct 2016, 08:27 last edited by
      #2

      Ohh sorry, I forget to log in.

      1 Reply Last reply
      0
      • V Offline
        V Offline
        VRonin
        wrote on 18 Oct 2016, 08:40 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
        • K Offline
          K Offline
          kahlenberg
          wrote on 18 Oct 2016, 08:50 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
          • P Offline
            P Offline
            p3c0
            Moderators
            wrote on 18 Oct 2016, 08:56 last edited by
            #5

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

            157

            1 Reply Last reply
            0

            1/5

            18 Oct 2016, 08:26

            • Login

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