<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Add&#x2F;set a QCamera device]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I searched a bit - but the low level interface between QCamera and the actual hardware is not very clear. I have a USB camera that has a libusb based driver library and it is not clear how to use QCamera with this - or if it is even possible.</p>
<p dir="auto">Is there documentation on the low level aspects anywhere? I.E., what is a "device", how would one create one and add it to the available devices? How does QCamera currently support/access a camera and what cameras are supported?</p>
<p dir="auto">It would be nice to get a conversation going on this - I can imagine that many people are in my position and would like to use the QCamera API but require more clarification on the details of low level implementation. Any input, ideas, leads, links, etc. will be welcome.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.qt.io/topic/22518/add-set-a-qcamera-device</link><generator>RSS for Node</generator><lastBuildDate>Wed, 13 May 2026 10:05:19 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/22518.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 25 Dec 2012 20:07:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Add&#x2F;set a QCamera device on Mon, 29 Jul 2013 09:15:09 GMT]]></title><description><![CDATA[<p dir="auto">You can look at the other backends too (they do things in a similar way, it's just that BB10 was one with most of the interfaces implemented when I looked at it).</p>
<p dir="auto">It's not the system specifics that will interest you but how the QCamera stuff is implemented. Simply look at the code in the camera folder, this should get you started.</p>
]]></description><link>https://forum.qt.io/post/175486</link><guid isPermaLink="true">https://forum.qt.io/post/175486</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 29 Jul 2013 09:15:09 GMT</pubDate></item><item><title><![CDATA[Reply to Add&#x2F;set a QCamera device on Mon, 29 Jul 2013 08:55:45 GMT]]></title><description><![CDATA[<p dir="auto">OK thanks I will start exploring. I have no experience with the BB10 codebase so any pointers to good starting points would be very helpful.</p>
<p dir="auto">David</p>
]]></description><link>https://forum.qt.io/post/175482</link><guid isPermaLink="true">https://forum.qt.io/post/175482</guid><dc:creator><![CDATA[dvb0222]]></dc:creator><pubDate>Mon, 29 Jul 2013 08:55:45 GMT</pubDate></item><item><title><![CDATA[Reply to Add&#x2F;set a QCamera device on Mon, 29 Jul 2013 08:49:30 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">You can make you own backend that provides a QCamera service.  It's not overly complicated, you'll need to implement the basic control classes that provides:</p>
<ul>
<li>a video renderer</li>
<li>a camera device selector (not mandatory but useful)</li>
<li>a camera control</li>
</ul>
<p dir="auto">You can take a look at for example the BB10 backend that is pretty complete (it does much more than what you need but it's pretty easy to follow the code)</p>
<p dir="auto">Hope it helps</p>
]]></description><link>https://forum.qt.io/post/175484</link><guid isPermaLink="true">https://forum.qt.io/post/175484</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 29 Jul 2013 08:49:30 GMT</pubDate></item><item><title><![CDATA[Reply to Add&#x2F;set a QCamera device on Mon, 29 Jul 2013 03:40:42 GMT]]></title><description><![CDATA[<p dir="auto">Hi sidewalk,</p>
<p dir="auto">Any progress on this? I have a non-webcam-compatible microscope camera I want to marry to the QCamera qml interface.</p>
]]></description><link>https://forum.qt.io/post/175481</link><guid isPermaLink="true">https://forum.qt.io/post/175481</guid><dc:creator><![CDATA[dvb0222]]></dc:creator><pubDate>Mon, 29 Jul 2013 03:40:42 GMT</pubDate></item><item><title><![CDATA[Reply to Add&#x2F;set a QCamera device on Fri, 25 Jan 2013 03:28:55 GMT]]></title><description><![CDATA[<p dir="auto">urgh .. hate to reply to my own post - but I still find the documentation on this a bit obtuse and think it would be nice to have something a bit clearer.  Now resorting to reading code and experimentation. Beyond just getting a conversation started I will report findings.</p>
<p dir="auto">Which findings at the moment amount to this: QCamera in its default (and perhaps at the moment, only) configuration expects a QMediaService that reads from standard /dev/video output (at least on linux). Eh, yes this is a bit vague still and needs to be confirmed - but it means that if you have, for instance, a webcam that works QCamera will automagically display it.  However, if you have a camera not supported in a standard fashion (eg. a Point Grey Chameleon ..) - well, there is work to be done - we'll see what happens with that.</p>
<p dir="auto">Cheer!<br />
(to be continued)</p>
]]></description><link>https://forum.qt.io/post/164541</link><guid isPermaLink="true">https://forum.qt.io/post/164541</guid><dc:creator><![CDATA[sidewalk]]></dc:creator><pubDate>Fri, 25 Jan 2013 03:28:55 GMT</pubDate></item></channel></rss>