Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Fullscreen QML Window on OSX

Fullscreen QML Window on OSX

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qmlfullscreenloader
1 Posts 1 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JeroenDierckx
    wrote on last edited by
    #1

    Hi,

    I am developing a QML application. The main file is a QtObject with a splash screen (Window) in it. While the splash screen is visible, I use a Loader to asynchronously load the main window (Window). I set the visible flag of the Loader to false until loading is completed, and then I want to hide the splash screen and show the main window fullscreen.

    The problem is that I cannot get the main window to properly display in fullscreen mode on OSX. When setting the visibility to Window.FullScreen the window maximizes and the OSX menu bar is hidden. The window does not take the place of the now empty bottom though, and the top window bar is still displayed.

    I tried to explicitly set the flags of the window to Qt.Window | Qt.WindowFullScreenButtonHint but no fullscreen button is shown, only maximize.

    This used to work properly when the main window was the top item, before I used the splash screen. It still works correctly on windows.

    Am I doing something wrong or is this a bug? I am using both Qt 5.6.1 and 5.7 with the same results.

    Kind regards,
    Jeroen

    1 Reply Last reply
    1

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved