QWidget and setVisible() problem



  • 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!



  • 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).



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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.