QQuickView fullscreen glitch OSX?
-
I'm running into a problem on OS X 10.7.5 with a QtQuick 2.0 app using Qt5 beta.
@int main(int argc, char *argv[], char *envp[])
{
QApplication app(argc, argv);
QQuickView view;view.setSource("main.qml"); view.showFullScreen(); return app.exec();
}
@The QuickView is shown in normal windowed mode. Both the showMinimized() and showMaximized() slots work as expected, just the showFullScreen() doesn't work. Identical code works fine on Ubuntu. Is this a bug of some sorts, possibly relating to funky fullscreen APIs in Lion+? Are there any known fixes or workarounds?
thanks,
AF
-
Same problem here. OSX Lion and Qt5.1.0 beta.
-
Same problem with QWindow on OS X 10.7.4 with Qt 5.1.0 beta:
@
QGuiApplication app(argc, argv);
QWindow win;
win.showFullScreen();return app.exec();
@
the window will be displayed at normal size ... not fullscreen ....
-
Give it a try: Before showFullScreen(): view.setFlags(Qt::WindowFullscreenButtonHint);
-
Yeah got the same issue here