Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. ShowFullScreen() on a QWidget doesn't remove Mac OSX Menu Bar

ShowFullScreen() on a QWidget doesn't remove Mac OSX Menu Bar

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 3.5k Views 1 Watching
  • 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.
  • R Offline
    R Offline
    ronM71
    wrote on last edited by
    #1

    We get our application full screen alright, but the OSX Menu bar is still shown above it...

    Is there any way around this problem?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mirswith
      wrote on last edited by
      #2

      I am using showFullScreen off my MainWindow and that is working fine. Maybe your calling showFullScreen on a QWidget that is not your MainWindow?

      1 Reply Last reply
      0
      • R Offline
        R Offline
        ronM71
        wrote on last edited by
        #3

        I am calling it on a QWidget derived class, yes. I'm building a video conferencing solution. The window that needs to be full screen is not the application's main window, but a transient window that shows and hides according to the application's needs.

        1 Reply Last reply
        0
        • G Offline
          G Offline
          goetz
          wrote on last edited by
          #4

          According to the sources, the unified toolbar is removed on the Mac on QMainWindow based classes only.

          http://www.catb.org/~esr/faqs/smart-questions.html

          1 Reply Last reply
          0

          • Login

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