<?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[decompress tar.gz]]></title><description><![CDATA[<p dir="auto">how do i decompress a file</p>
<p dir="auto">QTemporaryFile* file = some input file i got it<br />
QString myFile =/home/test/xx.tar.gz;</p>
<p dir="auto">file-&gt;copy(myFile);</p>
<p dir="auto">i want extract file into myFile path</p>
]]></description><link>https://forum.qt.io/topic/114320/decompress-tar-gz</link><generator>RSS for Node</generator><lastBuildDate>Sat, 25 Apr 2026 16:16:12 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/114320.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 01 May 2020 18:55:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to decompress tar.gz on Fri, 01 May 2020 19:25:31 GMT]]></title><description><![CDATA[<p dir="auto">If you want tar to do something you have to pass it arguments, not just the archive name.</p>
<p dir="auto">If you take a look at the documentation I linked to, you'll see how to build the argument list to pass as second argument to the start method.</p>
]]></description><link>https://forum.qt.io/post/592057</link><guid isPermaLink="true">https://forum.qt.io/post/592057</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 01 May 2020 19:25:31 GMT</pubDate></item><item><title><![CDATA[Reply to decompress tar.gz on Fri, 01 May 2020 19:25:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a></p>
<p dir="auto">so in this case its</p>
<p dir="auto">myProcess-&gt;start(tar, filepath);?</p>
<p dir="auto">also after finish untar does qprocess automatically terminate? or i have to kill it</p>
]]></description><link>https://forum.qt.io/post/592056</link><guid isPermaLink="true">https://forum.qt.io/post/592056</guid><dc:creator><![CDATA[s002wjh]]></dc:creator><pubDate>Fri, 01 May 2020 19:25:25 GMT</pubDate></item><item><title><![CDATA[Reply to decompress tar.gz on Fri, 01 May 2020 19:21:53 GMT]]></title><description><![CDATA[<p dir="auto">No, if tar is properly installed, you can just call it without any special path before it.</p>
]]></description><link>https://forum.qt.io/post/592055</link><guid isPermaLink="true">https://forum.qt.io/post/592055</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 01 May 2020 19:21:53 GMT</pubDate></item><item><title><![CDATA[Reply to decompress tar.gz on Fri, 01 May 2020 19:21:58 GMT]]></title><description><![CDATA[<p dir="auto">well i have some trouble find the "tar" program, i remember qprocess is like this</p>
<p dir="auto">myProcess-&gt;start(program, arguments);<br />
arguments=path of tar.gz<br />
program =path of  tar program  which i have no idea where is at under my linux.</p>
<p dir="auto">also if i run on another linux not sure tar app gonna be at same location.</p>
]]></description><link>https://forum.qt.io/post/592053</link><guid isPermaLink="true">https://forum.qt.io/post/592053</guid><dc:creator><![CDATA[s002wjh]]></dc:creator><pubDate>Fri, 01 May 2020 19:21:58 GMT</pubDate></item><item><title><![CDATA[Reply to decompress tar.gz on Fri, 01 May 2020 19:08:53 GMT]]></title><description><![CDATA[<p dir="auto">You can. What is your issue with QProcess ?</p>
]]></description><link>https://forum.qt.io/post/592048</link><guid isPermaLink="true">https://forum.qt.io/post/592048</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 01 May 2020 19:08:53 GMT</pubDate></item><item><title><![CDATA[Reply to decompress tar.gz on Fri, 01 May 2020 19:07:21 GMT]]></title><description><![CDATA[<p dir="auto">would using system() command work too?  so i dont have to do the qprocess</p>
]]></description><link>https://forum.qt.io/post/592047</link><guid isPermaLink="true">https://forum.qt.io/post/592047</guid><dc:creator><![CDATA[s002wjh]]></dc:creator><pubDate>Fri, 01 May 2020 19:07:21 GMT</pubDate></item><item><title><![CDATA[Reply to decompress tar.gz on Fri, 01 May 2020 19:02:37 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Either use <a href="http://doc.qt.io/qt-5/qprocess.html" target="_blank" rel="noopener noreferrer nofollow ugc">QProcess</a> to call the tar command line tool or use the <a href="https://api.kde.org/frameworks/karchive/html/index.html" target="_blank" rel="noopener noreferrer nofollow ugc">KArchive library</a></p>
]]></description><link>https://forum.qt.io/post/592043</link><guid isPermaLink="true">https://forum.qt.io/post/592043</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 01 May 2020 19:02:37 GMT</pubDate></item></channel></rss>