Results 1 to 2 of 2

Thread: Set zoomTo for QCamera?

  1. #1
    Join Date
    Jun 2011
    Posts
    16
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Symbian S60

    Default Set zoomTo for QCamera?

    Hello guys.
    I want to set zoom value for camera of N8 in my project. But i don't know how to set it. And how to set auto focus for camera of N8?
    Help me!

  2. #2
    Join Date
    May 2011
    Posts
    239
    Thanks
    4
    Thanked 35 Times in 35 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Symbian S60

    Default Re: Set zoomTo for QCamera?

    QCameraFocus has function zoomTo(), which you can use -- if it has been implemented.
    (Get a pointer to you camera object's QCameraFocus member with focus = camera->focus() and just set the digital zoom.)

    As for auto focus, I didn't know N8 has any other type or at least it should be the default..., in any case, user focus->setFocusMode(QCameraFocus::AutoFocus);

    Perhaps your camera doesn't focus if you do not call camera->searchAndLock() to lock focus before capturing the shot.

Similar Threads

  1. Accessing Symbian Camera trough QCamera
    By daleotar in forum Qt for Embedded and Mobile
    Replies: 4
    Last Post: 25th September 2011, 17:18
  2. How can I decrease the frame rate of the QCamera?
    By mismael85 in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 9th July 2011, 00:13

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.