[Solved] Qt Green Background
-
I'm using Beaglebone White hardware with Angstrom 3.2.42 and Qt 4.6.3 cross compiler. I have custom hardware with 1024 x 768 lcd screen.
The problem I have is that when I switch between different screens in my application, there is a brief flash of a green screen from the background. Does anyone know how to get rid of it?
Even if it could be set to black, it would be better than it is now.
Regards,
James
To switch between screens, I do the following:
ScreenA->hide();
ScreenB->show(); -
you can try something like the following:
@
#ifdef Q_WS_QWS
app.setOverrideCursor( QCursor( Qt::BlankCursor ) );
QWSServer::setCursorVisible( false );
QWSServer::setBackground(QBrush(Qt::black));
#endif
@ -
Hi,
IIRC, you can use
@QWSServer::setBackground(QBrush(Qt::black));@
Otherwise, you can simply show ScreenB first, not even needing to hide ScreenA