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. Camera problem
Forum Updated to NodeBB v4.3 + New Features

Camera problem

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 1.3k 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.
  • D Offline
    D Offline
    dopala
    wrote on last edited by
    #1

    We are building application that should cover symbian^1 and newer symbian phones. App is based on qml. We are using QT Creator 2.2.1. The main problem is camera on Symbian^1. For symbian^3 works qml declarative camera and its correct but its not with symbian^1. We tried to use QCamera object - create class derived QDeclarativeItem and register new qml type:

    @camera = new QCamera();
    vFinder = new QCameraViewfinder();
    vFinder->setFixedSize(240, 320);
    vFinder->show();

        mProxy = new QGraphicsProxyWidget();
    
        vFinder->setAttribute(Qt::WA_NoSystemBackground);
        mProxy->setWidget(vFinder);
        //setWidget(vFinder);
    
        //vFinder->setFullScreen(true);
        //vFinder->show();
    
        imageCapture = new QCameraImageCapture(camera);
    
        camera->setViewfinder(vFinder);
        camera->setCaptureMode(QCamera::CaptureStillImage);
        camera->start();
    
        //on half pressed shutter button
        camera->searchAndLock();
    
        //on shutter button pressed
        imageCapture->capture();
    
        //on shutter button released
        camera->unlock();@
    

    We also tried to create a class derived QGraphicsProxyWidget and use it in qml but this not help too. Only sample that works was built on .ui files but we are not able to import this to be used in qml. Is there any possible way to make it to work for symbian^1 and symbian^3 in qml or use .ui file instead? Any help will be very appreciate...

    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