Results 1 to 2 of 2

Thread: Camera not working on desktop using QML

  1. #1
    Join Date
    Mar 2014
    Posts
    1
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows Android

    Default Camera not working on desktop using QML

    Hi,
    I'm trying to use a webcam on a QML application, using Camera and VideoOutput components. On my windows desktop, nothing displays, as I get the following errors :
    failed to renderstream -2147220969
    failed to openStream()
    Stream did not open
    When deployed to an Android Virtual Device, it works fine.

    I tried the examples shipped with Qt (camera and declarative-camera). The camera example, which uses QWidgets, works fine. The decalarative-camera, which uses qml, generates the same errors. At first I thought this was due to https://bugreports.qt-project.org/browse/QTBUG-33782, but as it works with QWidgets I don't think this is the problem. Are there known limitations on the QML camera components ? I don't find information on this.

    Thanks,
    Last edited by tophe; 30th March 2014 at 19:00. Reason: spelling corrections

  2. #2
    Join Date
    Jun 2014
    Posts
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Camera not working on desktop using QML

    Did you solve the issue ?

Similar Threads

  1. Replies: 7
    Last Post: 24th September 2012, 07:17
  2. QT Desktop Screenshot not working
    By harleyskater in forum Qt Programming
    Replies: 11
    Last Post: 27th June 2010, 04:25
  3. Desktop using QT
    By QT-embedded in forum Newbie
    Replies: 9
    Last Post: 26th April 2010, 13:47
  4. Desktop dir
    By TomASS in forum Newbie
    Replies: 1
    Last Post: 8th November 2009, 13:22
  5. Replies: 5
    Last Post: 31st January 2009, 07:36

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.