×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Regular Contributor
    Join Date
    Aug 2004
    Posts
    64

    QT Ui application not autorotate

    Hi,

    I create an UI application with latest QTsdk for harmattan device. But ui shows only portrait mode even start in the lanscape mode. I think I need to change setoriantation part of code. But not able to find good working example. Any experince?

    BR

  2. #2
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: QT Ui application not autorotate

    Hi,
    If you create a new project using the Harmattan template, the application changes orientation automatically out of the box.

  3. #3
    Regular Contributor
    Join Date
    Aug 2004
    Posts
    64

    Re: QT Ui application not autorotate

    Hi,

    I create with harmattan template and either QEMU or real N950 does not auto rotate. Also screen is locked in lanscape mode not in portrait.

    BR

  4. #4
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: QT Ui application not autorotate

    Really? Are you using Qt Quick / Qt Components in your project?

    Hartti

  5. #5
    Regular Contributor
    Join Date
    Aug 2004
    Posts
    64

    Re: QT Ui application not autorotate

    Quote Originally Posted by hartti View Post
    Really? Are you using Qt Quick / Qt Components in your project?

    Hartti
    It is Reall!

    I used QT Widget Project -> Mobile Qt Application and Harmattan device is sellected.

  6. #6
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: QT Ui application not autorotate

    Hi,
    The devices orientation is locked to landscape only if you the N950 hardware keyboard is opened.

  7. #7
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Location
    Finland
    Posts
    327

    Re: QT Ui application not autorotate

    Quote Originally Posted by web_tur View Post
    It is Reall!

    I used QT Widget Project -> Mobile Qt Application and Harmattan device is sellected.
    QtWidget with Mobile Qt applications just gives you Mobility and some packaging/deployment differences, QtQuick w Qt Components is what you need.

  8. #8
    Regular Contributor
    Join Date
    Aug 2004
    Posts
    64

    Re: QT Ui application not autorotate

    Quote Originally Posted by gnuton View Post
    Hi,
    The devices orientation is locked to landscape only if you the N950 hardware keyboard is opened.
    keyboard is closed

  9. #9
    Regular Contributor
    Join Date
    Aug 2004
    Posts
    64

    Re: QT Ui application not autorotate

    Quote Originally Posted by achipa View Post
    QtWidget with Mobile Qt applications just gives you Mobility and some packaging/deployment differences, QtQuick w Qt Components is what you need.
    No sense, because there are screenorientation scripts in the .cpp but not working.

  10. #10
    Regular Contributor
    Join Date
    Aug 2004
    Posts
    64

    Re: QT Ui application not autorotate

    Hi,

    I am googling and as far as I understand meego does not support auto screen orientation. Only way is to use qml, which method I do not choice. Any experience?

  11. #11
    Registered User
    Join Date
    Aug 2011
    Location
    Norway
    Posts
    1

    Re: QT Ui application not autorotate

    Got the same problem. Locked to Landscape.

  12. #12
    Regular Contributor
    Join Date
    Sep 2010
    Posts
    150

    Re: QT Ui application not autorotate

    Same for me: yesterday updated QtSDK to latest one, QT Widget Project -> Mobile Qt Application -> Harmattan device - build and launch application on N950, application is locked to landscape mode. Any ideas?

Similar Threads

  1. Replies: 3
    Last Post: 2010-09-16, 12:20
  2. Replies: 2
    Last Post: 2010-07-24, 06:51
  3. disable autorotate from flash lite
    By shpe11 in forum [Archived] Flash Lite on Nokia Devices
    Replies: 11
    Last Post: 2009-03-16, 19:17
  4. Canvas autorotate & Calendar Bug
    By Ranza in forum Symbian
    Replies: 0
    Last Post: 2008-10-10, 08:54

Posting Permissions

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