<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 8 Aug 2022 at 18:10, Scott Bloom <<a href="mailto:scott@towel42.com">scott@towel42.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US" style="overflow-wrap: break-word;">
<div class="gmail-m_5232078125639442531WordSection1">
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Mon, 8 Aug 2022 at 08:10, Jörg Bornemann <<a href="mailto:joerg.bornemann@qt.io" target="_blank">joerg.bornemann@qt.io</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal" style="margin-bottom:12pt">On 8/4/22 19:42, Scott Bloom wrote:<br>
<br>
> Is there a Qt supported linuxdeployqt comparable to the windeployqt?<br>
> <br>
> I found the 3^rd party version, but the command line args are very <br>
> different.<br>
<br>
Mitch already pointed you to QTBUG-74940.  The biggest question <br>
regarding a linuxdeployqt is: what exactly is the deployment format <br>
going to be?  There's no standard way of deploying Linux applications. <br>
There are many.<br>
<br>
The community contributions create AppImage packages.  That seems to be <br>
a reasonable choice.  Other opinions?<u></u><u></u></p>
</blockquote>
<div>
<div style="border-top:none;border-right:none;border-left:none;border-bottom:2.25pt double windowtext;padding:0in 0in 1pt">
<p class="MsoNormal" style="border:none;padding:0in"><br>
It seems to me that how a Qt app is actually packaged/deployed is out-of-scope of a linuxdeployqt tool.<br>
<br>
It seems macdeployqt actually build bundles, but windeployqt just copy files next to the .exe file.<br>
IMHO a linuxdeployqt should just copy files, like windeployqt. Given the number of way to package apps under Linux, the actual packaging should be left to other tools.<br>
<br>
BR<br>
<br>
Benjamin<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Honestly, I would prefer a different option all together. <br>
<br>
I would like to be able to give the tool a shared library or an executable, and it returns a JSON stream of data.<u></u><u></u></p>
<p class="MsoNormal"><br>
Where the data would include any runtime dependencies + any other Qt dynamically bound package files with their appropriate directories.<u></u><u></u></p>
<p class="MsoNormal"><br>
Then the user (or cmake function) could read in the data, and copy or build the bundle as necessary.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Having the option to “list” the data vs “copy and build” the bundle/application directory would give a very powerful resultant tool<u></u><u></u></p>
<p class="MsoNormal"><br>
As to “how to package” linux, honestly I would assume it would just copy the files into the correct location relative to the executable/shared library sent in.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Scott</p></div></div></div></div></div></blockquote><div><br></div><div>windeployqt does have --list and --json options<br>I never used them, but they should be able to provide exactly what you described.<br><br>Benjamin </div></div></div>