[Interest] Packaging a Qt App for Linux/MacOSX/Windows

Ch'Gans chgans at gna.org
Sat Jun 18 08:25:15 CEST 2016


On 18 June 2016 at 17:30, Scapegoat Sarthak <scapegoat.sarthak at gmail.com> wrote:
> I am curious - if you have your project configured in c++/cmake style, you
> can (and probably should) use CPack. Lots of documentation available online.

Hi Scapegoat,

Thanks for the link. I'm not using CMake, but CPack seems usable without CMake.
Anyway, I would prefer a solution based on Qt IFW and Qbs.

Thanks,
Chris


>
> On 18 June 2016 at 01:17, Ch'Gans <chgans at gna.org> wrote:
>>
>> On 18 June 2016 at 00:19, Ch'Gans <chgans at gna.org> wrote:
>> > Hi there,
>> >
>> > I've recently added a (very basic) offline installer to my project
>> > using the Qt installer framework and i'm looking for a multi platform
>> > solution to detect my app dependencies and to ship (some of) them into
>> > my installer.
>> > Ideally I would like to automate this...
>> >
>> > The following pages gives lot of hints and advices:
>> > http://doc.qt.io/qt-5/osx-deployment.html
>> > http://doc.qt.io/qt-5/linux-deployment.html
>> > http://doc.qt.io/qt-5/windows-deployment.html
>>
>> These 3 links +
>> http://lists.qt-project.org/pipermail/qbs/2015-July/001321.html gives
>> enough information to digest. Basically, you have to do everything
>> manually, but at least it's doable and not that difficult (I now have
>> my installer working correctly for Linux, next step is Windows).
>>
>> Another source of information I found useful is the qbs scripts within
>> QtCreator itself. These, plus checking how QtCreator is installed on
>> the target OS help understand what has to be done and how it can be
>> done.
>>
>> Also, worth mentioning, Qbs JIRA Epic "Support for creating
>> redistributable installer packages":
>> https://bugreports.qt.io/browse/QBS-16
>>
>> Chris
>>
>> >
>> > Some of the tricks in there rely on qmake features, but unfortunately
>> > I'm using Qbs...
>> >
>> > Does anyone has any recommendation, tools, examples, magic scripts, or
>> > other useful stuff to point out?
>> >
>> > Thanks for sharing,
>> > Chris
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>
>



More information about the Interest mailing list