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. Why the changes are not applied in my form, when using the Qt designer

Why the changes are not applied in my form, when using the Qt designer

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 369 Views 2 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.
  • lincolnL Offline
    lincolnL Offline
    lincoln
    wrote on last edited by lincoln
    #1

    Hi guys, I have the following problem.
    When making any changes in the Qt designer, for example adding or removing a widget, or making any changes visually, it is not reflected in the code, and when I run the program, the added widgets are not shown either.

    I tried doing Clean, Run qmake and Rebuild, and even delete the compilation folder, but nothing, any suggestions would be appreciated.

    Here is my form in the Qt designer.

    e0749372-9524-4041-97f9-5fb61b96156d-image.png

    And when I run it, nothing is displayed.

    4c18f4fd-6957-4fc7-80bf-d6004e01701d-image.png

    Solitary wolf

    Pl45m4P Thank YouT 2 Replies Last reply
    0
    • lincolnL lincoln

      Hi guys, I have the following problem.
      When making any changes in the Qt designer, for example adding or removing a widget, or making any changes visually, it is not reflected in the code, and when I run the program, the added widgets are not shown either.

      I tried doing Clean, Run qmake and Rebuild, and even delete the compilation folder, but nothing, any suggestions would be appreciated.

      Here is my form in the Qt designer.

      e0749372-9524-4041-97f9-5fb61b96156d-image.png

      And when I run it, nothing is displayed.

      4c18f4fd-6957-4fc7-80bf-d6004e01701d-image.png

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by Pl45m4
      #2

      @lincoln

      Are you sure you edit the correct version?
      In addition: are you sure that your widget really is the one you see there?

      How's your dialog created?


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      lincolnL 1 Reply Last reply
      0
      • Pl45m4P Pl45m4

        @lincoln

        Are you sure you edit the correct version?
        In addition: are you sure that your widget really is the one you see there?

        How's your dialog created?

        lincolnL Offline
        lincolnL Offline
        lincoln
        wrote on last edited by lincoln
        #3

        @Pl45m4
        What do you mean by the correct version?

        Well, regarding how you create the dialog, use the wizard that Qt brings, so I added it.

        Solitary wolf

        1 Reply Last reply
        0
        • lincolnL lincoln

          Hi guys, I have the following problem.
          When making any changes in the Qt designer, for example adding or removing a widget, or making any changes visually, it is not reflected in the code, and when I run the program, the added widgets are not shown either.

          I tried doing Clean, Run qmake and Rebuild, and even delete the compilation folder, but nothing, any suggestions would be appreciated.

          Here is my form in the Qt designer.

          e0749372-9524-4041-97f9-5fb61b96156d-image.png

          And when I run it, nothing is displayed.

          4c18f4fd-6957-4fc7-80bf-d6004e01701d-image.png

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

          @lincoln
          It may depend on your settings.
          If you have enabled saving while building it should. Maybe save your file and rebuild it.
          As @Pl45m4 said
          You may be accessing different forms.
          See you have "editdialog"

          You may be accessing main application page not "editdialog"
          So

          You should show something more than this.

          What is your application name?
          Do you have multiple files in your project. If so then there is nothing wrong there. You just need to either show it after window loads or on some events

          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