Can i use QWSServer in qt5?

1.2k views Asked by At

I am porting old Qt4.8 code to Qt5.11.

The following code is written in Qt4.8. ("main.cpp")

This code was added to show the black background and to make the cursor invisible at program started.

QWSServer::setBackground(QBrush(Qt::black));
QWSServer::setCursorVisible( false );

I know that "QWSServer" can not use in Qt5.

Is there a any class that can be used instead of "QWSServer"?

OR, Is there a way to achieve the same effect as "QWSServer"?

0

There are 0 answers