Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Switch off full screen mode for iOS and Android mobile application. How?
Qt 6.11 is out! See what's new in the release blog

Switch off full screen mode for iOS and Android mobile application. How?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 169 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.
  • B Offline
    B Offline
    bogong
    wrote last edited by
    #1

    Hello all!

    How to switch off full screen mode of Qt application for iOS and Android? is there any way from QML directly in ApplicationWindow or Window components?

    F 1 Reply Last reply
    0
    • B bogong

      Hello all!

      How to switch off full screen mode of Qt application for iOS and Android? is there any way from QML directly in ApplicationWindow or Window components?

      F Offline
      F Offline
      felsi
      wrote last edited by
      #2

      @bogong
      Looking at the number of posts and reputation of yours, i am not sure, if you are looking for such a simple answer.
      But:

      Window {
          id: root
          visibility: Window.Maximized
          color: "#ff0000"
      
          Rectangle {
              anchors.fill: parent
              anchors.topMargin: parent.SafeArea.margins.top
              anchors.bottomMargin: parent.SafeArea.margins.bottom
              color: "#bbbbbb"
          }
      }
      

      And a useful link, explaining how things work since Qt 6.9:
      https://www.qt.io/blog/expanded-client-areas-and-safe-areas-in-qt-6.9

      1 Reply Last reply
      1
      • B Offline
        B Offline
        bogong
        wrote last edited by
        #3

        It's not exactly that been seeking. But your example is useful for some cases. Seeking solution to set Window to the safe area without using Rectangle and margins. Trying to find solution for old-fashion applications.

        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