<?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[Signal Handling]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">I want to know is it possible to catch a signal emitted from Linux terminal, through our Qt or qml application.? if yes, how can i do that ?</p>
<p dir="auto">For ex, there is a simple code running in the background in linux terminal which will be passing a simple string through signal, i want to catch that and print the signal through my qt or qml application.<br />
Thanks</p>
]]></description><link>https://forum.qt.io/topic/83531/signal-handling</link><generator>RSS for Node</generator><lastBuildDate>Mon, 21 Sep 2026 16:42:26 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/83531.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 Sep 2017 06:47:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Signal Handling on Sun, 13 Mar 2022 20:45:25 GMT]]></title><description><![CDATA[<p dir="auto">Hi...i am a new user here. As per my knowledge you could use QProcess to capture the terminal application's standard output, if you start it from your application. Signal &amp; Slots is applicable within a process.Inorder to communicate between processes, use IPC mechanism.</p>
<p dir="auto"><a href="https://www.7pcb.com/" target="_blank" rel="noopener noreferrer nofollow ugc">one-stop pcb</a></p>
]]></description><link>https://forum.qt.io/post/418812</link><guid isPermaLink="true">https://forum.qt.io/post/418812</guid><dc:creator><![CDATA[PeterJohn48115]]></dc:creator><pubDate>Sun, 13 Mar 2022 20:45:25 GMT</pubDate></item><item><title><![CDATA[Reply to Signal Handling on Wed, 04 Oct 2017 04:43:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> No actually i don't want to call a web service, i just want to get output from the code running within the iMX-6 board. so that i can call it through one of the API's from my HMI. So that i do not need to integrate the same with my HMI.</p>
]]></description><link>https://forum.qt.io/post/418692</link><guid isPermaLink="true">https://forum.qt.io/post/418692</guid><dc:creator><![CDATA[Naveen_D]]></dc:creator><pubDate>Wed, 04 Oct 2017 04:43:44 GMT</pubDate></item><item><title><![CDATA[Reply to Signal Handling on Sun, 01 Oct 2017 20:54:35 GMT]]></title><description><![CDATA[<p dir="auto">Then why do you need to catch signal from the terminal if you have to contact a web service ?</p>
]]></description><link>https://forum.qt.io/post/418262</link><guid isPermaLink="true">https://forum.qt.io/post/418262</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sun, 01 Oct 2017 20:54:35 GMT</pubDate></item><item><title><![CDATA[Reply to Signal Handling on Sun, 01 Oct 2017 13:59:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> Yes sir, like that only.</p>
]]></description><link>https://forum.qt.io/post/418233</link><guid isPermaLink="true">https://forum.qt.io/post/418233</guid><dc:creator><![CDATA[Naveen_D]]></dc:creator><pubDate>Sun, 01 Oct 2017 13:59:57 GMT</pubDate></item><item><title><![CDATA[Reply to Signal Handling on Thu, 28 Sep 2017 22:09:38 GMT]]></title><description><![CDATA[<p dir="auto">Do you mean contact a REST service to get the data ?</p>
]]></description><link>https://forum.qt.io/post/417883</link><guid isPermaLink="true">https://forum.qt.io/post/417883</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Thu, 28 Sep 2017 22:09:38 GMT</pubDate></item><item><title><![CDATA[Reply to Signal Handling on Thu, 28 Sep 2017 04:42:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> Ya i can do that, in fact at present i hav integrated with my HMI, but i have a requirement that HMI layer should only have the UI part and should have API call for functions like ioT, music play etc.</p>
]]></description><link>https://forum.qt.io/post/417699</link><guid isPermaLink="true">https://forum.qt.io/post/417699</guid><dc:creator><![CDATA[Naveen_D]]></dc:creator><pubDate>Thu, 28 Sep 2017 04:42:05 GMT</pubDate></item><item><title><![CDATA[Reply to Signal Handling on Tue, 26 Sep 2017 21:09:52 GMT]]></title><description><![CDATA[<p dir="auto">Then, why not integrate that C code directly in your application ?</p>
]]></description><link>https://forum.qt.io/post/417393</link><guid isPermaLink="true">https://forum.qt.io/post/417393</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 26 Sep 2017 21:09:52 GMT</pubDate></item><item><title><![CDATA[Reply to Signal Handling on Tue, 26 Sep 2017 04:48:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a></p>
<blockquote>
<p dir="auto">What are you reading from the board ?</p>
</blockquote>
<p dir="auto">I have an c code for IoT(Internet of things) which will be continuously running in that board and which gives output in the terminal, that i want to read through my program and make changes in my UI</p>
]]></description><link>https://forum.qt.io/post/417182</link><guid isPermaLink="true">https://forum.qt.io/post/417182</guid><dc:creator><![CDATA[Naveen_D]]></dc:creator><pubDate>Tue, 26 Sep 2017 04:48:05 GMT</pubDate></item><item><title><![CDATA[Reply to Signal Handling on Mon, 25 Sep 2017 22:34:34 GMT]]></title><description><![CDATA[<p dir="auto">What is that backend ?</p>
<p dir="auto">What are you reading from the board ?</p>
]]></description><link>https://forum.qt.io/post/417148</link><guid isPermaLink="true">https://forum.qt.io/post/417148</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 25 Sep 2017 22:34:34 GMT</pubDate></item><item><title><![CDATA[Reply to Signal Handling on Mon, 25 Sep 2017 07:06:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a></p>
<blockquote>
<p dir="auto">What kind of board is that ?</p>
</blockquote>
<p dir="auto">iMX-6 board.</p>
<blockquote>
<p dir="auto">What will you extract from it that you want to make available to other application(s) ?</p>
</blockquote>
<p dir="auto">I have an code running continuously in the backend, from which i want to read the output and based on that make some changes in my application UI.</p>
<blockquote>
<p dir="auto">How are you getting the data from that "lower level" ?</p>
</blockquote>
<p dir="auto">it will be giving the output in the terminal, from which i want to read.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.qt.io/post/416982</link><guid isPermaLink="true">https://forum.qt.io/post/416982</guid><dc:creator><![CDATA[Naveen_D]]></dc:creator><pubDate>Mon, 25 Sep 2017 07:06:30 GMT</pubDate></item><item><title><![CDATA[Reply to Signal Handling on Mon, 25 Sep 2017 07:02:42 GMT]]></title><description><![CDATA[<p dir="auto">What kind of board is that ?</p>
<p dir="auto">What will you extract from it that you want to make available to other application(s) ?</p>
<p dir="auto">How are you getting the data from that "lower level" ?</p>
]]></description><link>https://forum.qt.io/post/416979</link><guid isPermaLink="true">https://forum.qt.io/post/416979</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 25 Sep 2017 07:02:42 GMT</pubDate></item><item><title><![CDATA[Reply to Signal Handling on Mon, 25 Sep 2017 06:41:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/naveen_d">@<bdi>Naveen_D</bdi></a><br />
Signal &amp; Slots is applicable within a process.<br />
Inorder to communicate between processes, use IPC mechanism.</p>
<p dir="auto">I suggest, use your C code in worker thread and signal to main thread to update in UI.</p>
]]></description><link>https://forum.qt.io/post/416966</link><guid isPermaLink="true">https://forum.qt.io/post/416966</guid><dc:creator><![CDATA[yuvaram]]></dc:creator><pubDate>Mon, 25 Sep 2017 06:41:55 GMT</pubDate></item><item><title><![CDATA[Reply to Signal Handling on Mon, 25 Sep 2017 04:56:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yuvaram">@<bdi>yuvaram</bdi></a> Hi<br />
Actually i want to know which will be better, I am new to it, Can you elaborate and tell how does it work.</p>
]]></description><link>https://forum.qt.io/post/416947</link><guid isPermaLink="true">https://forum.qt.io/post/416947</guid><dc:creator><![CDATA[Naveen_D]]></dc:creator><pubDate>Mon, 25 Sep 2017 04:56:12 GMT</pubDate></item><item><title><![CDATA[Reply to Signal Handling on Mon, 25 Sep 2017 04:54:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/naveen_d">@<bdi>Naveen_D</bdi></a>  hi , do you want to communicate between process or within threads.</p>
]]></description><link>https://forum.qt.io/post/416946</link><guid isPermaLink="true">https://forum.qt.io/post/416946</guid><dc:creator><![CDATA[yuvaram]]></dc:creator><pubDate>Mon, 25 Sep 2017 04:54:47 GMT</pubDate></item><item><title><![CDATA[Reply to Signal Handling on Mon, 25 Sep 2017 04:47:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a><br />
Hi,<br />
I want to create an api which can connect to the embedded board's lower layer through which i want to get the output of the lower level code to my application UI.</p>
<p dir="auto">For ex, i have a c code which will be running continuously  at the board level and giving output, i want to create an api which will connect to this code and whenever i want  i can take the output and display it in my application UI or make some changes based on that output in my UI.</p>
]]></description><link>https://forum.qt.io/post/416945</link><guid isPermaLink="true">https://forum.qt.io/post/416945</guid><dc:creator><![CDATA[Naveen_D]]></dc:creator><pubDate>Mon, 25 Sep 2017 04:47:51 GMT</pubDate></item><item><title><![CDATA[Reply to Signal Handling on Fri, 22 Sep 2017 20:49:40 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">What exact signal do you have in mind ?</p>
]]></description><link>https://forum.qt.io/post/416722</link><guid isPermaLink="true">https://forum.qt.io/post/416722</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 22 Sep 2017 20:49:40 GMT</pubDate></item><item><title><![CDATA[Reply to Signal Handling on Fri, 22 Sep 2017 12:16:15 GMT]]></title><description><![CDATA[<p dir="auto">No, it is not. Signal/slot mechanism is really just a wrapper for a method call inside a process. You could use QProcess to capture the terminal application's standard output, if you start it from your application. (Or alternatively, use any standard Linux C++ code for that -- you should be able to find many examples of that.)</p>
]]></description><link>https://forum.qt.io/post/416643</link><guid isPermaLink="true">https://forum.qt.io/post/416643</guid><dc:creator><![CDATA[mvuori]]></dc:creator><pubDate>Fri, 22 Sep 2017 12:16:15 GMT</pubDate></item></channel></rss>