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. QQuickView fullscreen glitch OSX?
Qt 6.11 is out! See what's new in the release blog

QQuickView fullscreen glitch OSX?

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 5 Posters 4.1k 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.
  • A Offline
    A Offline
    admiralfluff
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jbarbosa
      wrote on last edited by
      #2

      Same problem here. OSX Lion and Qt5.1.0 beta.

      1 Reply Last reply
      0
      • P Offline
        P Offline
        plasmo
        wrote on last edited by
        #3

        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 ....

        1 Reply Last reply
        0
        • L Offline
          L Offline
          laureon
          wrote on last edited by
          #4

          Give it a try: Before showFullScreen(): view.setFlags(Qt::WindowFullscreenButtonHint);

          1 Reply Last reply
          0
          • R Offline
            R Offline
            rocketchicken
            wrote on last edited by
            #5

            Yeah got the same issue here

            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