Cannot remove fullscreen window border
-
Hello,
I'm using qt 4.8.7 and trying to create a borderless fullscreen window on linux (ubuntu) and also on embedded. I use the following code:
``` MainWidget widget; widget.window()->setFixedSize(QSize(SCENE_WIDTH, SCENE_HEIGHT)); widget.setWindowFlags(Qt::CustomizeWindowHint | Qt::FramelessWindowHint); // add QGraphicsScene widget.showFullScreen();
The result is this:  As you can see there is a grey border. How do I remove it?
-
Hello,
I'm using qt 4.8.7 and trying to create a borderless fullscreen window on linux (ubuntu) and also on embedded. I use the following code:
``` MainWidget widget; widget.window()->setFixedSize(QSize(SCENE_WIDTH, SCENE_HEIGHT)); widget.setWindowFlags(Qt::CustomizeWindowHint | Qt::FramelessWindowHint); // add QGraphicsScene widget.showFullScreen();
The result is this:  As you can see there is a grey border. How do I remove it?
-
@jsulm Is that related? The code uses a fixed size because I run the application on both the target board (embedded) that uses resolution 800x480 as well as on ubuntu dev machine that uses 1920x1080. The SCENE_WIDTH is 800, and SCENE_HEIGHT is 480. There is a border on both.