Results 1 to 3 of 3

Thread: default camera application(Qt-5.2.0) is not running on linux

  1. #1
    Join Date
    Apr 2011
    Location
    Hyderabad
    Posts
    86
    Thanks
    17
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default default camera application(Qt-5.2.0) is not running on linux

    Hi,

    I am trying to run default camera example app on linux laptop build with Qt-5.x, it's not running.
    Becoming failure and always gives following error :

    defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.camera"
    Camera error: "The camera service is missing"

    Whenever i am running this app, one error-message dialog coming with "The camera service is missing"
    error. After clicking on "ok" button main dialog is opening, with empty device menu, and no streaming
    window and all, and in console it gives above mentioned(in begining) error.

    What could be the problem, why it's not working ?
    I m using Qt-5.2.0 on Ubuntu-12.04.

    But at the same time "cheese" app is working fine on my laptop.

    Is this camera-example(qt-5.x) supporting only for windows or its supporting on every platform ?
    Because during browsing i have found somwhere without much detail that
    "Only Windows platform has a camera backend at the moment. The v4l2/gstreamer based ones for Linux are not enabled."

    Can you guide anybody, how to make it to work on linux platform ?

    Thanks in advance.

  2. #2
    Join Date
    Aug 2015
    Posts
    4
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: default camera application(Qt-5.2.0) is not running on linux

    I am also having same problem , can anyone bail us out

  3. #3
    Join Date
    Nov 2015
    Posts
    1
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: default camera application(Qt-5.2.0) is not running on linux

    The issue might be that your default camera is not the default that Qt checks for.
    Basically on Linux the default camera is represented as "/dev/video0". So try and check if it exists. If it doesn't but you have a variant such as video1 or video2, just rename it to video0.
    And Qt camera should start working on your system

Similar Threads

  1. Replies: 10
    Last Post: 20th December 2015, 12:14
  2. Replies: 0
    Last Post: 8th December 2010, 13:44
  3. Replies: 2
    Last Post: 5th August 2010, 11:18
  4. running application in linux
    By aj2903 in forum Qt Programming
    Replies: 5
    Last Post: 28th October 2009, 07:43
  5. Running an application with root privileges at Linux
    By prykHetQuo in forum Qt Programming
    Replies: 5
    Last Post: 25th January 2009, 13:35

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.