[Qt-interest] The widget can't show after I called show() ?

Kermit Mei kermit.mei at gmail.com
Tue Jun 30 05:15:51 CEST 2009


Hello community!
I use Qt4.3.0 program for ARM2440. The programs works well on PC when I
test it. But, If I run it on ARM, there's some strange problem happens.

Some widget's can't be shown when I called it's method show(). And what
shows on the screen is just a blankness space.  When the mouse clicked
on the  blankness space, then the real widget shown normal.

What may cause it? My code may like this (it's too long to paste all
here, so I just show some important lines):

currentWidget->hide(); // The Widget showed() current.
newWidget->show();     // The new Widget which I want to show.

In my debug information, all the tow lines has been called, and also,
the newWidget->isHidden() returns false.

In my screen, the "currentWidget" has been hiden, but "newWidget" hasn't
been shown. To make it show, I must click the blankness area.

Hope anyone can help me solve it.

Note: It works well on PC, but can't run on ARM.

Thanks

Kermit Mei





More information about the Qt-interest-old mailing list