[Interest] [Development] Setup CI service

Koehne Kai Kai.Koehne at theqtcompany.com
Thu Jan 28 11:31:15 CET 2016



> -----Original Message-----
> From: Ben Lau [mailto:xbenlau at gmail.com]
> Sent: Thursday, January 28, 2016 11:08 AM
> To: Koehne Kai <Kai.Koehne at theqtcompany.com>
> Cc: Qt Interest (interest at qt-project.org) <interest at qt-project.org>
> Subject: Re: [Development] Setup CI service
> 
> 
> 
> On 27 January 2016 at 18:18, Koehne Kai <Kai.Koehne at theqtcompany.com
> <mailto:Kai.Koehne at theqtcompany.com> > wrote:
> 
> 
> 	(moving this from development@ to interest@)
> 
> 
> 	> -----Original Message-----
> 	> From: Ben Lau [mailto:xbenlau at gmail.com
> <mailto:xbenlau at gmail.com> ]
> 	> Sent: Wednesday, January 27, 2016 11:14 AM
> 	> To: Koehne Kai <Kai.Koehne at theqtcompany.com
> <mailto:Kai.Koehne at theqtcompany.com> >
> 	> Cc: development at qt-project.org <mailto:development at qt-
> project.org>
> 	> Subject: Re: [Development] Setup CI service
> 	>
> 	>
> 	>
> 	> On 27 January 2016 at 18:09, Koehne Kai
> <Kai.Koehne at theqtcompany.com
> <mailto:Kai.Koehne at theqtcompany.com>
> 	> <mailto:Kai.Koehne at theqtcompany.com
> <mailto:Kai.Koehne at theqtcompany.com> > > wrote:
> 	>
> 	>
> 	>
> 	>
> 	>       > -----Original Message-----
> 	>       > From: Ben Lau [mailto:xbenlau at gmail.com
> <mailto:xbenlau at gmail.com>
> 	> <mailto:xbenlau at gmail.com <mailto:xbenlau at gmail.com> > ]
> 	>       > Sent: Wednesday, January 27, 2016 10:57 AM
> 	>       > To: Koehne Kai <Kai.Koehne at theqtcompany.com
> <mailto:Kai.Koehne at theqtcompany.com>
> 	> <mailto:Kai.Koehne at theqtcompany.com
> <mailto:Kai.Koehne at theqtcompany.com> > >
> 	>       > Cc: development at qt-project.org <mailto:development at qt-
> project.org>  <mailto:development at qt- <mailto:development at qt->
> 	> project.org <http://project.org> >
> 	>       > Subject: Re: [Development] Setup CI service
> 	>       >
> 	>       >
> 	>       >
> 	>       > On 27 January 2016 at 16:12, Koehne Kai
> 	> <Kai.Koehne at theqtcompany.com
> <mailto:Kai.Koehne at theqtcompany.com>
> 	> <mailto:Kai.Koehne at theqtcompany.com
> <mailto:Kai.Koehne at theqtcompany.com> >
> 	>       > <mailto:Kai.Koehne at theqtcompany.com
> <mailto:Kai.Koehne at theqtcompany.com>
> 
> 	> <mailto:Kai.Koehne at theqtcompany.com
> <mailto:Kai.Koehne at theqtcompany.com> > > > wrote:
> 	>       >
> 	>       >
> 	>       >
> 	>       >
> 	>       >       > -----Original Message-----
> 	>       >       > From: Ben Lau [mailto:xbenlau at gmail.com
> <mailto:xbenlau at gmail.com>
> 	> <mailto:xbenlau at gmail.com <mailto:xbenlau at gmail.com> >
> 	>       > <mailto:xbenlau at gmail.com <mailto:xbenlau at gmail.com>
> <mailto:xbenlau at gmail.com <mailto:xbenlau at gmail.com> > > ]
> 	>       >       >[...]
> 	>       >       > Hi Kai,
> 	>       >       >
> 	>       >       > I mean the official Qt offline installer (Linux)
> downloaded
> 	> from
> 	>       >       > https://download.qt.io/archive/qt/5.5/
> 	>       >       >
> 	>       >       > Before Qt 5.5, it could be run in command line
> environment
> 	> and
> 	>       > extract its
> 	>       >       > content by " --dump-binary-data". But this options has
> been
> 	>       > dropped.
> 	>       >
> 	>       >       It got moved to an extra executable called 'devtool'.  You
> can
> 	> still
> 	>       > use it
> 	>       >       by getting the IFW itself, e.g. from
> 	>       >       http://download.qt.io/official_releases/qt-installer-
> 	>       > framework/2.0.1/ ,
> 	>       >       and launching devtool with the installer as an argument.
> 	>       >
> 	>       > But how can I install devtool in command line environment?
> 	>
> 	>       This is a bit of a chicken-and-egg problem indeed (that is, if you
> 	> really want to start with a completely clean slate. The devtools
> version
> 	> doesn't have to necessarily match exactly the installer version).
> 	>
> 	>
> 	>
> 	>
> 	> That is the exact problem. I think it need to have a command line
> installable
> 	> ifw to get started . (e.g a PPA in Ubuntu)
> 	>
> 	>
> 	>
> 	>       >       Anyhow, also the installer itself can be scripted & execute
> 	>       > automatically.
> 	>       >
> 	>       > Any example?
> 	>
> 	>       http://doc.qt.io/qtinstallerframework/qt-installer-framework-
> 	> quitinstaller-example.html
> 	>
> 	>       (Note though that the Qt Account page isn't part of this
> example,
> 	> since it's not part of the general IFW. But I guess you can just add
> another
> 	> "Next" for this page ...)
> 	>
> 	>
> 	>
> 	> A bit confused. That is the instruction to build a installer or
> manipulate an
> 	> existing installer?
> 
> 
> 	Sorry, my fault. The example I meant was at
> 
> 	https://codereview.qt-project.org/#/c/113141/
> 
> 	But it never got integrated :( Still, it should work.
> 
> 	Regards
> 
> 	Kai
> 
> 
> 
> In fact, I think it should be on development mailing list becoz of the
> "chicken and egg" problem.
> 
> Anyway, I think your example just show how to pack custom installer , but
> not asking an existing installer (e.g official offline installer from qt.io
> <http://qt.io> ) to run. Am I correct?

You can pass a control script also to an existing installer, via command line.

./installer.exe --script myscript.js

Regards

Kai



More information about the Interest mailing list