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

Created objects does not appear in Editor

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 372 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.
  • EngelardE Offline
    EngelardE Offline
    Engelard
    wrote on 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
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on 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
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on 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

        • Login

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