Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Orientation Lock is not working when set with qt sdk 1.1
Forum Updated to NodeBB v4.3 + New Features

Orientation Lock is not working when set with qt sdk 1.1

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 3 Posters 2.4k Views 1 Watching
  • 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.
  • I Offline
    I Offline
    imrrk
    wrote on last edited by
    #1

    Hello friends,
    I tried to lock the screen orientation with options given with neq qt sdk 1.1 and tried to lock in portrait mode...and tested on nokia X6 and nokia 5230..but its not working...

    regards
    imrrk

    1 Reply Last reply
    0
    • frankcyblogic.deF Offline
      frankcyblogic.deF Offline
      frankcyblogic.de
      wrote on last edited by
      #2

      I heard similar issues from other people, too. I think the workaround was to use some S60 framework calls (ugh, uggly). Please report that bug on bugreports.qt.nokia.com, if you have the details available.

      1 Reply Last reply
      0
      • R Offline
        R Offline
        raghava.chinnappa
        wrote on last edited by
        #3

        I tried on N8, its working fine. This is the code information I have

        In TestApp.pro file
        @# Avoid auto screen rotation
        DEFINES += ORIENTATIONLOCK
        @

        In main.cpp file
        @viewer.setOrientation(QmlApplicationViewer::ScreenOrientationLockPortrait);@

        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