Qt Forum

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

    QWidget and setVisible() problem

    Mobile and Embedded
    3
    3
    4549
    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.
    • S
      sergey.pakhandrin last edited by

      Hi!

      I create a QWidget:

      m_widget = new QWidget(parent); where parent is also a QWidget then I set visible of m_widget to false m_widget->setVisible(false);

      after that I need to show m_widget m_widget->setVisible(true); and this line of code hangs the application and only in release build on symbian platform

      what's wrong? why does this code work in debug build?

      Please help. Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • R
        rohanpm last edited by

        There is nothing wrong with the three lines of code you've shown, if you want help to figure out the error you'll need to show more context (for example, you should explain how you know that line of code is the one causing the hang).

        1 Reply Last reply Reply Quote 0
        • A
          alexander last edited by

          Maybe it's bug, can you write test application?

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