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. Created objects does not appear in Editor
Forum Updated to NodeBB v4.3 + New Features

Created objects does not appear in Editor

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 405 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.
  • E Offline
    E Offline
    Engelard
    wrote on 22 Mar 2019, 13:18 last edited by Engelard
    #1

    I created new project. Added push button, modify it, then copy it many times, renamed copied buttons, also created couple groupBoxes. After i finished all this stuff in Designer window, i went to the code, made slot through "go to slot" in designer, and tried to do my stuff with all this objects i just created. And realised that they all my objects "don't exist", i mean, if i start typing ui-> i'll get nothing in there, only old PushButton is available which is not pushButton anymore, but object with changed name.

    I've seen such bugged delay in Qt before, but now i wonder. What should i do to fix this bug and why it still exist? Restart Qt is not a good option since Qt don't remember closed/opened functions/blocks like some VS do.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 22 Mar 2019, 20:51 last edited by
      #2

      Hi,

      Did you build your new widget once at least ?

      You can use Qt Creator Session Management to reload the last state you were in.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      3
      • M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 24 Mar 2019, 15:23 last edited by
        #3

        Hi
        When you switch back to code, you can do ctrl +b to build just that the file.
        That will make them avialable via ui->

        1 Reply Last reply
        1

        1/3

        22 Mar 2019, 13:18

        • Login

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