Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Portuguese
  4. Problemas com QCamera
Forum Updated to NodeBB v4.3 + New Features

Problemas com QCamera

Scheduled Pinned Locked Moved Portuguese
1 Posts 1 Posters 785 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.
  • M Offline
    M Offline
    MichelSM
    wrote on 12 Nov 2013, 13:04 last edited by
    #1

    void OF::on_Fotografar_clicked()
    {
    QCamera camera;
    camera.setViewfinder(ui->imgcamera);
    ui->imgcamera->show();
    camera.start();
    }
    estou utilizando este código inicialmente ele só tem que mostrar a imagem da camera em uma QCameraViewFinder, porém quando clico no botão o programa trava...

    tentei outras maneiras também mas n descobri o problema, continuo pesquisando se descobrir algo reporto aqui...

    Estou com o Qt 5.2 e usando o Ubuntu

    1 Reply Last reply
    0

    1/1

    12 Nov 2013, 13:04

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved