Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    HELP! There is no effect by calling QWindow::lower() on android device

    QML and Qt Quick
    2
    3
    647
    Loading More Posts
    • 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.
    • S
      story1225 last edited by

      This topic http://qt-project.org/forums/viewthread/47902/.

      I found the function QWindow::lower(), but nothing happened after calling it on a real android device.
      When I tested the application on PC, it works corrected.
      But the effect result was not like pressing home button on android.

      How can I do this?
      Any one has some ideas? Thanks!

      1 Reply Last reply Reply Quote 0
      • p3c0
        p3c0 Moderators last edited by

        Hi,

        AFAIK QWindow::lower() wont work on Android as there is no traditional window system on this platform which means you cant create multiple windows on it.
        Also there's no way to capture Home button too as doing so will allow the app developers to prevent users from closing that application ;)

        157

        1 Reply Last reply Reply Quote 0
        • S
          story1225 last edited by

          OK, I got it! Thanks very much. :)

          1 Reply Last reply Reply Quote 0
          • First post
            Last post