<?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[How to run Camera on Linux?]]></title><description><![CDATA[<p dir="auto">I am running camera on Linux and getting an error that</p>
<p dir="auto">defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.camera"</p>
<p dir="auto">this is my code</p>
<pre><code>    Camera::Camera(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::Camera)
{
    ui-&gt;setupUi(this);
    mCamera = new QCamera(this);
    recorder = new QMediaRecorder(mCamera,this);
    mCameraViewfinder = new QCameraViewfinder(this);
    mCameraImageCapture = new QCameraImageCapture(mCamera,this);
    mLayout = new QVBoxLayout;

    mCamera-&gt;setViewfinder(mCameraViewfinder);
    mLayout-&gt;addWidget(mCameraViewfinder);
    ui-&gt;scrollArea-&gt;setLayout(mLayout);
    //mCameraViewfinder-&gt;show();
    mCamera-&gt;start();
}
</code></pre>
<p dir="auto">Any help?</p>
]]></description><link>https://forum.qt.io/topic/88168/how-to-run-camera-on-linux</link><generator>RSS for Node</generator><lastBuildDate>Thu, 24 Sep 2026 11:14:29 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/88168.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 27 Feb 2018 08:04:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to run Camera on Linux? on Fri, 02 Mar 2018 13:19:01 GMT]]></title><description><![CDATA[<p dir="auto">Are you running on a native linux machine or are you in a Virtual Machine?<br />
I ask because I usually get the same results as you do when in a VM.</p>
]]></description><link>https://forum.qt.io/post/444844</link><guid isPermaLink="true">https://forum.qt.io/post/444844</guid><dc:creator><![CDATA[mranger90]]></dc:creator><pubDate>Fri, 02 Mar 2018 13:19:01 GMT</pubDate></item><item><title><![CDATA[Reply to How to run Camera on Linux? on Fri, 02 Mar 2018 08:20:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a> Yes cheese is working fine and even when I run it from Qt the flash light of camera gets on or visible but no display.</p>
]]></description><link>https://forum.qt.io/post/444780</link><guid isPermaLink="true">https://forum.qt.io/post/444780</guid><dc:creator><![CDATA[Ramiz]]></dc:creator><pubDate>Fri, 02 Mar 2018 08:20:22 GMT</pubDate></item><item><title><![CDATA[Reply to How to run Camera on Linux? on Fri, 02 Mar 2018 08:18:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ramiz">@<bdi>Ramiz</bdi></a> Did you try to use your camera with for example Cheese?</p>
]]></description><link>https://forum.qt.io/post/444779</link><guid isPermaLink="true">https://forum.qt.io/post/444779</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Fri, 02 Mar 2018 08:18:53 GMT</pubDate></item><item><title><![CDATA[Reply to How to run Camera on Linux? on Fri, 02 Mar 2018 08:11:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> I have solved that issue by updating the Linux version and now my camera opens but didn’t display anything as shown in picture.<br />
<img src="https://ddgobkiprc33d.cloudfront.net/1e1d680f-b8eb-4a9a-8235-1d29303249df.png" alt="0_1519978249251_Screenshot from 2018-03-02 13-07-58.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Do you know what’s the issue now?</p>
]]></description><link>https://forum.qt.io/post/444777</link><guid isPermaLink="true">https://forum.qt.io/post/444777</guid><dc:creator><![CDATA[Ramiz]]></dc:creator><pubDate>Fri, 02 Mar 2018 08:11:37 GMT</pubDate></item><item><title><![CDATA[Reply to How to run Camera on Linux? on Tue, 27 Feb 2018 19:42:41 GMT]]></title><description><![CDATA[<p dir="auto">There are two missing answers.</p>
<p dir="auto">As for further trouble shooting: run your application with the <code>QT_DEBUG_PLUGINS</code> environment variable set to 1. You can do that in the Run part of the Project panel.</p>
]]></description><link>https://forum.qt.io/post/444287</link><guid isPermaLink="true">https://forum.qt.io/post/444287</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 27 Feb 2018 19:42:41 GMT</pubDate></item><item><title><![CDATA[Reply to How to run Camera on Linux? on Tue, 27 Feb 2018 11:16:44 GMT]]></title><description><![CDATA[<p dir="auto">GStreamer 1.0 and QT version 5.10</p>
]]></description><link>https://forum.qt.io/post/444152</link><guid isPermaLink="true">https://forum.qt.io/post/444152</guid><dc:creator><![CDATA[Ramiz]]></dc:creator><pubDate>Tue, 27 Feb 2018 11:16:44 GMT</pubDate></item><item><title><![CDATA[Reply to How to run Camera on Linux? on Tue, 27 Feb 2018 10:06:35 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">What version of GStreamer do you have ?<br />
Which plugins ?<br />
What version of Qt are you using ?<br />
What distribution are you running ?</p>
]]></description><link>https://forum.qt.io/post/444139</link><guid isPermaLink="true">https://forum.qt.io/post/444139</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 27 Feb 2018 10:06:35 GMT</pubDate></item><item><title><![CDATA[Reply to How to run Camera on Linux? on Tue, 27 Feb 2018 09:38:53 GMT]]></title><description><![CDATA[<p dir="auto">I have checked that link but didnt get any help.Same problem</p>
]]></description><link>https://forum.qt.io/post/444132</link><guid isPermaLink="true">https://forum.qt.io/post/444132</guid><dc:creator><![CDATA[Ramiz]]></dc:creator><pubDate>Tue, 27 Feb 2018 09:38:53 GMT</pubDate></item><item><title><![CDATA[Reply to How to run Camera on Linux? on Tue, 27 Feb 2018 09:32:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ramiz">@<bdi>Ramiz</bdi></a> Could be a hint: <a href="https://stackoverflow.com/questions/42268777/requestservice-no-service-found-for-org-qt-project-qt-camera" target="_blank" rel="noopener noreferrer nofollow ugc">https://stackoverflow.com/questions/42268777/requestservice-no-service-found-for-org-qt-project-qt-camera</a></p>
]]></description><link>https://forum.qt.io/post/444130</link><guid isPermaLink="true">https://forum.qt.io/post/444130</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Tue, 27 Feb 2018 09:32:09 GMT</pubDate></item><item><title><![CDATA[Reply to How to run Camera on Linux? on Tue, 27 Feb 2018 08:41:47 GMT]]></title><description><![CDATA[<p dir="auto">yes I have installed it.</p>
]]></description><link>https://forum.qt.io/post/444117</link><guid isPermaLink="true">https://forum.qt.io/post/444117</guid><dc:creator><![CDATA[Ramiz]]></dc:creator><pubDate>Tue, 27 Feb 2018 08:41:47 GMT</pubDate></item><item><title><![CDATA[Reply to How to run Camera on Linux? on Tue, 27 Feb 2018 08:35:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ramiz">@<bdi>Ramiz</bdi></a> Is GStreamer installed?</p>
]]></description><link>https://forum.qt.io/post/444115</link><guid isPermaLink="true">https://forum.qt.io/post/444115</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Tue, 27 Feb 2018 08:35:30 GMT</pubDate></item></channel></rss>