Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Feb 2012

    Page orientation lock - app goes invisible

    Each of my QML files contains a Page, and each page has the PortraitLock orientation value set.
    I have 2 problems:
    1) When I call the in-app-purchase api the orientation lock is discarded
    2) If I rotate the screen and navigate pages, then rotate back, then click buttons on the pages then eventually the app becomes "invisible". All of the onscreen elements are still interactive and work but the phones homescreen is visible. This bug seems to have only appeared since I added a splash screen to my app which is controlled from C++

    Any ideas as to what is wrong? It seems to me that the problems come when I try to include C++ in my app, e.g. the in-app-purchase or the splash screen.

  2. #2
    Regular Contributor
    Join Date
    Feb 2012

    Re: Page orientation lock - app goes invisible

    I found my problem. I was using this in main.cpp

Similar Threads

  1. How to lock orientation in QML
    By nobody_gao@sina.com in forum [Archived] Qt Quick
    Replies: 3
    Last Post: 2011-07-28, 22:03
  2. Lock Orientation
    By Joe_Nokia in forum Nokia Asha Web Apps
    Replies: 1
    Last Post: 2011-06-20, 05:16

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts