Widget with showFullScreen() doesn't fill the whole screen
Hi, i'm using wt5.5 on my computer.
And i wanna show fullscreen on my computer.
This is my code.
ui->stackedWidget->setCurrentWidget(ui->stackedWidgetPagePanel); connect(panel,SIGNAL(PT_End()),this,SLOT(PT_PanelTestEnd())); ui->pushButtonPanelBackgroundColor->showFullScreen(); panel->PT_Start(ui->pushButtonPanelBackgroundColor);
If it works right, it will show full screen but it will show like this.
There is a white line and i don't know how to fix it.
@victor-wang What is your device and OS? What is pushButtonPanelBackgroundColor?
You should set your main window to full screen.
I'm using Debian 8.0 for my OS.
pushButtonPanelBackgroundColor is a Qpushbutton and i'm using it to show the color.
My MainWindow is set in full screen mode like here.
What can i do ?
I had solved the problem.
It seems that exe which using qtcreator to build it out will have the conflict.
If i use qmake and make then it will work correct.
Looks like you changed Qt version in between especially if you didn't give the full path to the qmake you used in Qt Creator.