Discussion Board

Results 1 to 12 of 12
  1. #1
    Regular Contributor web_tur's Avatar
    Join Date
    Aug 2004
    Posts
    64
    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
    Nokia Developer Moderator gnuton's Avatar
    Join Date
    Mar 2009
    Posts
    1,024
    Hi,
    If you create a new project using the Harmattan template, the application changes orientation automatically out of the box.

  3. #3
    Regular Contributor web_tur's Avatar
    Join Date
    Aug 2004
    Posts
    64
    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 hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    Really? Are you using Qt Quick / Qt Components in your project?

    Hartti

  5. #5
    Regular Contributor web_tur's Avatar
    Join Date
    Aug 2004
    Posts
    64
    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
    Nokia Developer Moderator gnuton's Avatar
    Join Date
    Mar 2009
    Posts
    1,024
    Hi,
    The devices orientation is locked to landscape only if you the N950 hardware keyboard is opened.

  7. #7
    Nokia Developer Moderator achipa's Avatar
    Join Date
    Oct 2009
    Location
    Finland
    Posts
    327
    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 web_tur's Avatar
    Join Date
    Aug 2004
    Posts
    64
    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 web_tur's Avatar
    Join Date
    Aug 2004
    Posts
    64
    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 web_tur's Avatar
    Join Date
    Aug 2004
    Posts
    64
    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 Guffaw's Avatar
    Join Date
    Aug 2011
    Location
    Norway
    Posts
    1
    Got the same problem. Locked to Landscape.

  12. #12
    Regular Contributor developer 123's Avatar
    Join Date
    Sep 2010
    Posts
    150
    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 Python
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved