<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Mon, 8 Aug 2022 at 08:10, Jörg Bornemann <<a href="mailto:joerg.bornemann@qt.io">joerg.bornemann@qt.io</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal" style="margin-bottom:12.0pt">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?<o:p></o:p></p>
</blockquote>
<div>
<div style="mso-element:para-border-div;border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in">
<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<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></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.<o:p></o:p></p>
<p class="MsoNormal"><br>
Where the data would include any runtime dependencies + any other Qt dynamically bound package files with their appropriate directories.<o:p></o:p></p>
<p class="MsoNormal"><br>
Then the user (or cmake function) could read in the data, and copy or build the bundle as necessary.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></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<o:p></o:p></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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Scott<o:p></o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>