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. GUI design doesn't update when changed in Qt Creator
Forum Updated to NodeBB v4.3 + New Features

GUI design doesn't update when changed in Qt Creator

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt creatorformsdesignerrebuildupdate
3 Posts 3 Posters 2.9k 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.
  • M Offline
    M Offline
    mdresser
    wrote on 13 Feb 2019, 19:31 last edited by
    #1

    Re: Strange behaviour of GUI design and runtime GUI

    I am having exactly the same sort of problem.

    I created a gui with a spinbutton with the default properties (maxvalue = 100).
    After compiling and running the application, I went back to change the property to maxvalue = 30000. The change appeared correctly in the preview but when I recompiled and ran the application, the old limit still applied.

    I tried a clean build, deleting the entire build directory, renaming ui_mainwindow.h-- nothing would get the changed properties to apply to the executable.

    Finally I rebuilt the application in VS2017, which fixed the problem and when I went back to Qt creator and rebuilt the executable there the problem was also resolved.

    There ought to be a better way to force the mainwindow form to "recompile" in Qt Creator but I can't find it. What am I missing?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 17 Feb 2019, 18:16 last edited by
      #2

      Hi
      make very, very sure that No build files somehow ended up in project folder.
      like moc_xx and ui_xxx.
      That gives such odd behavior.

      A 1 Reply Last reply 17 Feb 2019, 18:27
      3
      • M mrjj
        17 Feb 2019, 18:16

        Hi
        make very, very sure that No build files somehow ended up in project folder.
        like moc_xx and ui_xxx.
        That gives such odd behavior.

        A Offline
        A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on 17 Feb 2019, 18:27 last edited by
        #3

        And just to add to @mrjj, no Makefiles.

        These kind of files should only exist in the build folder. If you have a duplicate in the project folder, it will drive you crazy.

        Qt has to stay free or it will die.

        1 Reply Last reply
        2

        3/3

        17 Feb 2019, 18:27

        • Login

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