Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Promote Widget with QUiLoader

    General and Desktop
    2
    2
    232
    Loading More Posts
    • 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.
    • O
      Olivier Ronat last edited by

      When using QUiLoader, how to use a promoted Widget declared in the ui form
      The findChild method is unsound.

      1 Reply Last reply Reply Quote 0
      • D
        davecotter last edited by

        you can override QUiLoader and reimplement createWidget(), handle the allocation yourself.

        i do not think there's an automated way to do that.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post