Re: [Interest] how to install qt enterprise using command line only?

2016-07-07 Thread Ch'Gans
On 7 July 2016 at 19:05, Ben Lau  wrote:
>
>
> On 7 July 2016 at 12:42, Thiago Macieira  wrote:
>>
>> On quinta-feira, 7 de julho de 2016 10:29:43 PDT Лагнер, Сергей wrote:
>> > Does not work as well
>> >
>> > ~/Downloads$ ./qt-enterprise-linux-x64-android-5.6.1-1.run -platform
>> > minimal
>> > Unknown option: p, l, a, t, f, o, r, m
>>
>> Looks like the installer eats the options that QGuiApplication needs. Try
>> this
>> instead:
>>
>> export QT_QPA_PLATFORM=minimal

There's an "offscreen" one as well that works on Linux/MacOS/Widnows,
I use it for automated tests on a headless system.

Chris

>>
>
> I have tested this method on a VM without X. It works.
>
>
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] how to install qt enterprise using command line only?

2016-07-07 Thread Ben Lau
On 7 July 2016 at 12:42, Thiago Macieira  wrote:

> On quinta-feira, 7 de julho de 2016 10:29:43 PDT Лагнер, Сергей wrote:
> > Does not work as well
> >
> > ~/Downloads$ ./qt-enterprise-linux-x64-android-5.6.1-1.run -platform
> minimal
> > Unknown option: p, l, a, t, f, o, r, m
>
> Looks like the installer eats the options that QGuiApplication needs. Try
> this
> instead:
>
> export QT_QPA_PLATFORM=minimal
>
>
I have tested this method on a VM without X. It works.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] how to install qt enterprise using command line only?

2016-07-06 Thread Kevin Mcintyre
I've been using the --script option to install on headless systems.

--script qt.install.js

--- qt.install.js ---

function Controller() {
installer.autoRejectMessageBoxes();
installer.installationFinished.connect(function() {
gui.clickButton(buttons.NextButton);
})
}
Controller.prototype.WelcomePageCallback = function() {
gui.clickButton(buttons.NextButton);
}
Controller.prototype.CredentialsPageCallback = function() {
gui.clickButton(buttons.NextButton);
}
Controller.prototype.IntroductionPageCallback = function() {
gui.clickButton(buttons.NextButton);
}
Controller.prototype.TargetDirectoryPageCallback = function() {

gui.currentPageWidget().TargetDirectoryLineEdit.setText(installer.value("HomeDir")
+ "/Qt");
gui.clickButton(buttons.NextButton);
}
Controller.prototype.ComponentSelectionPageCallback = function() {
gui.clickButton(buttons.NextButton);
}
Controller.prototype.LicenseAgreementPageCallback = function() {
gui.currentPageWidget().AcceptLicenseRadioButton.setChecked(true);
gui.clickButton(buttons.NextButton);
}
Controller.prototype.ReadyForInstallationPageCallback = function() {
gui.clickButton(buttons.NextButton);
}
Controller.prototype.PerformInstallationPageCallback = function() {
gui.clickButton(buttons.NextButton);
}
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] how to install qt enterprise using command line only?

2016-07-06 Thread Ch'Gans
On 4 July 2016 at 02:28, Лагнер, Сергей  wrote:
> Hello all.
>
> I'm trying to use qt enterprise and I want to install it on my build server.
> There is no any GUI on the server, so I need some way to install qt without
> it. I downloaded qt-enterprise-linux-x64-android-5.6.1-1.run, but it seems
> does not have such option.
> I'd like to note, I do not want to build qt from sources, just install is
> enough for me.
> Is it possible to install it using command line only?

The way I install it on remote headless servers is:
- install on a local machine (same OS same CPU arch)
- rsync to remote server

It has the added advantage, that you can make sure all your build
servers are running the exact same thing

My 2 cents

>
> Thanks,
> Sergey
>
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] how to install qt enterprise using command line only?

2016-07-06 Thread Thiago Macieira
On quinta-feira, 7 de julho de 2016 10:29:43 PDT Лагнер, Сергей wrote:
> Does not work as well
> 
> ~/Downloads$ ./qt-enterprise-linux-x64-android-5.6.1-1.run -platform minimal
> Unknown option: p, l, a, t, f, o, r, m

Looks like the installer eats the options that QGuiApplication needs. Try this 
instead:

export QT_QPA_PLATFORM=minimal


-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] how to install qt enterprise using command line only?

2016-07-06 Thread Лагнер , Сергей
Does not work as well

~/Downloads$ ./qt-enterprise-linux-x64-android-5.6.1-1.run -platform minimal
Unknown option: p, l, a, t, f, o, r, m

The following text is the executable help:

~/Downloads$ ./qt-enterprise-linux-x64-android-5.6.1-1.run -h
Usage: ./qt-enterprise-linux-x64-android-5.6.1-1.run [options] Key=Value

Options:
  -h, --help   Displays this help.
  --versionDisplays version information.
  --framework-version  Displays the version of the Qt
Installer
   Framework.
  -v, --verboseVerbose mode. Prints out more
   information.
  --proxy  Use system proxy on Windows and
Linux.
   This option has no effect on OS X.
  --script   Execute the script given as argument.
  --checkupdates   Check for updates and return an XML
   description.
  --updaterStart application in updater mode.
  --manage-packagesStart application in package manager
   mode.
  --no-force-installations Allow deselecting components that are
   marked as forced.
  --show-virtual-componentsShow virtual components in installer
and
   package manager.
  --logging-rules   Enables logging according to passed
   rules. Comma separated logging rules
have
   the following syntax:
   loggingCategory=true/false. Passing
empty
   logging rules enables all logging
   categories. The following rules
enable a
   single category:
   ifw.*=false,ifw.category=true The
   following logging categories are
   available:
   ifw.componentChecker
   ifw.resources
   ifw.translations
  --create-local-repositoryCreate a local repository inside the
   installation directory. This option
has
   no effect on online installers.
  --addRepository Add a local or remote repository to
the
   list of user defined repositories.
  --addTempRepository Add a local or remote repository to
the
   list of temporary available
repositories.
  --setTempRepository Set a local or remote repository as
   temporary repository, it is the only
one
   used during fetch.
   Note: URI must be prefixed with the
   protocol, i.e. file:///, https://,
   http:// or ftp://.
  --startserver   Starts the application as headless
   process waiting for commands to
execute.
   Mode can be DEBUG or PRODUCTION. In
DEBUG
   mode, the option values can be
   omitted.Note: The server will not
   shutdown on his own, you need to
quit the
   process by hand.
  --startclient    Starts the application to debug the
   client-server communication. If a
value
   is omitted, the client will use a
default
   instead. Note: The server process is
not
   started by the client application in
that
   case, you need to start it on your
own.

Arguments:
  Key=ValueKey Value pair to be set.


2016-07-06 17:56 GMT+06:00 Dmitry Volosnykh :

> Have you considered specifying option with a single leading dash?
>
> On Wed, Jul 6, 2016 at 2:45 PM Лагнер, Сергей  wrote:
>
>> ~/Downloads$ ./qt-enterprise-linux-x64-android-5.6.1-1.run --platform
>> minimal
>> Unknown option: platform
>>
>> There is no such option in executable help.
>>
>> 2016-07-06 16:54 GMT+06:00 Sumedha Widyadharma <
>> sumedha.widyadha...@basyskom.com>:
>>
>>> Hi
>>>
>>> On 07/03/2016 04:34 PM, Ben Lau wrote:
>>> > Hi,
>>> >
>>> > I have written a script 

Re: [Interest] how to install qt enterprise using command line only?

2016-07-06 Thread Dmitry Volosnykh
Have you considered specifying option with a single leading dash?

On Wed, Jul 6, 2016 at 2:45 PM Лагнер, Сергей  wrote:

> ~/Downloads$ ./qt-enterprise-linux-x64-android-5.6.1-1.run --platform
> minimal
> Unknown option: platform
>
> There is no such option in executable help.
>
> 2016-07-06 16:54 GMT+06:00 Sumedha Widyadharma <
> sumedha.widyadha...@basyskom.com>:
>
>> Hi
>>
>> On 07/03/2016 04:34 PM, Ben Lau wrote:
>> > Hi,
>> >
>> > I have written a script for installing Qt OpenSource edition via
>> command line environment (xvfb is still needed). Although it do not fit
>> with enterprise edition (probably you need to login), it can be
>> > an example to show how to manipulate Qt installer framework.
>>
>> Have you tried passing --platform minimal to the installer? I think this
>> would then work without any X Server.
>>
>> >
>> > https://github.com/benlau/qtci/
>> >
>> >
>> > On 3 July 2016 at 22:28, Лагнер, Сергей  develo...@lagner.ru>> wrote:
>> >
>> > Hello all.
>> >
>> > I'm trying to use qt enterprise and I want to install it on my
>> build server. There is no any GUI on the server, so I need some way to
>> install qt without it. I downloaded
>> > qt-enterprise-linux-x64-android-5.6.1-1.run, but it seems does not
>> have such option.
>> > I'd like to note, I do not want to build qt from sources, just
>> install is enough for me.
>> > Is it possible to install it using command line only?
>> >
>> > Thanks,
>> > Sergey
>> >
>> > ___
>> > Interest mailing list
>> > Interest@qt-project.org 
>> > http://lists.qt-project.org/mailman/listinfo/interest
>> >
>> >
>> >
>> >
>> > ___
>> > Interest mailing list
>> > Interest@qt-project.org
>> > http://lists.qt-project.org/mailman/listinfo/interest
>> >
>>
>>
>> Regards,
>> Sumedha Widyadharma
>>
>> --
>> Sumedha Widyadharma
>> System Integrator
>>
>> basysKom GmbH
>> Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany
>> Tel   : +49 6151 870 589 128  | Fax: +49 6151 870 589 199
>> sumedha.widyadha...@basyskom.com | www.basyskom.com
>>
>> Handelsregister: Darmstadt HRB 9352
>> Geschäftsführung: Dr. Eva Brucherseifer, Heike Ziegler
>>
>> ___
>> Interest mailing list
>> Interest@qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] how to install qt enterprise using command line only?

2016-07-06 Thread Лагнер , Сергей
~/Downloads$ ./qt-enterprise-linux-x64-android-5.6.1-1.run --platform
minimal
Unknown option: platform

There is no such option in executable help.

2016-07-06 16:54 GMT+06:00 Sumedha Widyadharma <
sumedha.widyadha...@basyskom.com>:

> Hi
>
> On 07/03/2016 04:34 PM, Ben Lau wrote:
> > Hi,
> >
> > I have written a script for installing Qt OpenSource edition via command
> line environment (xvfb is still needed). Although it do not fit with
> enterprise edition (probably you need to login), it can be
> > an example to show how to manipulate Qt installer framework.
>
> Have you tried passing --platform minimal to the installer? I think this
> would then work without any X Server.
>
> >
> > https://github.com/benlau/qtci/
> >
> >
> > On 3 July 2016 at 22:28, Лагнер, Сергей > wrote:
> >
> > Hello all.
> >
> > I'm trying to use qt enterprise and I want to install it on my build
> server. There is no any GUI on the server, so I need some way to install qt
> without it. I downloaded
> > qt-enterprise-linux-x64-android-5.6.1-1.run, but it seems does not
> have such option.
> > I'd like to note, I do not want to build qt from sources, just
> install is enough for me.
> > Is it possible to install it using command line only?
> >
> > Thanks,
> > Sergey
> >
> > ___
> > Interest mailing list
> > Interest@qt-project.org 
> > http://lists.qt-project.org/mailman/listinfo/interest
> >
> >
> >
> >
> > ___
> > Interest mailing list
> > Interest@qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/interest
> >
>
>
> Regards,
> Sumedha Widyadharma
>
> --
> Sumedha Widyadharma
> System Integrator
>
> basysKom GmbH
> Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany
> Tel   : +49 6151 870 589 128  | Fax: +49 6151 870 589 199
> sumedha.widyadha...@basyskom.com | www.basyskom.com
>
> Handelsregister: Darmstadt HRB 9352
> Geschäftsführung: Dr. Eva Brucherseifer, Heike Ziegler
>
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] how to install qt enterprise using command line only?

2016-07-06 Thread Sumedha Widyadharma
Hi

On 07/03/2016 04:34 PM, Ben Lau wrote:
> Hi,
> 
> I have written a script for installing Qt OpenSource edition via command line 
> environment (xvfb is still needed). Although it do not fit with enterprise 
> edition (probably you need to login), it can be
> an example to show how to manipulate Qt installer framework.

Have you tried passing --platform minimal to the installer? I think this would 
then work without any X Server.

> 
> https://github.com/benlau/qtci/
> 
> 
> On 3 July 2016 at 22:28, Лагнер, Сергей  > wrote:
> 
> Hello all. 
> 
> I'm trying to use qt enterprise and I want to install it on my build 
> server. There is no any GUI on the server, so I need some way to install qt 
> without it. I downloaded
> qt-enterprise-linux-x64-android-5.6.1-1.run, but it seems does not have 
> such option. 
> I'd like to note, I do not want to build qt from sources, just install is 
> enough for me. 
> Is it possible to install it using command line only?
> 
> Thanks,
> Sergey
> 
> ___
> Interest mailing list
> Interest@qt-project.org 
> http://lists.qt-project.org/mailman/listinfo/interest
> 
> 
> 
> 
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
> 


Regards,
Sumedha Widyadharma

-- 
Sumedha Widyadharma
System Integrator

basysKom GmbH
Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany
Tel   : +49 6151 870 589 128  | Fax: +49 6151 870 589 199
sumedha.widyadha...@basyskom.com | www.basyskom.com

Handelsregister: Darmstadt HRB 9352
Geschäftsführung: Dr. Eva Brucherseifer, Heike Ziegler

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] how to install qt enterprise using command line only?

2016-07-05 Thread Лагнер , Сергей
Hi.

Sorry for the delayed response. I have checked and your script works well.
Many thanks.

But it not exactly what I want. I surprised that nobody cares about it. Is
the server without GUI rare case, or all others build Qt from scratch?


2016-07-03 20:34 GMT+06:00 Ben Lau :

> Hi,
>
> I have written a script for installing Qt OpenSource edition via command
> line environment (xvfb is still needed). Although it do not fit with
> enterprise edition (probably you need to login), it can be an example to
> show how to manipulate Qt installer framework.
>
> https://github.com/benlau/qtci/
>
>
> On 3 July 2016 at 22:28, Лагнер, Сергей  wrote:
>
>> Hello all.
>>
>> I'm trying to use qt enterprise and I want to install it on my build
>> server. There is no any GUI on the server, so I need some way to install qt
>> without it. I downloaded qt-enterprise-linux-x64-android-5.6.1-1.run, but
>> it seems does not have such option.
>> I'd like to note, I do not want to build qt from sources, just install is
>> enough for me.
>> Is it possible to install it using command line only?
>>
>> Thanks,
>> Sergey
>>
>> ___
>> Interest mailing list
>> Interest@qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>>
>
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] how to install qt enterprise using command line only?

2016-07-03 Thread Ben Lau
Hi,

I have written a script for installing Qt OpenSource edition via command
line environment (xvfb is still needed). Although it do not fit with
enterprise edition (probably you need to login), it can be an example to
show how to manipulate Qt installer framework.

https://github.com/benlau/qtci/


On 3 July 2016 at 22:28, Лагнер, Сергей  wrote:

> Hello all.
>
> I'm trying to use qt enterprise and I want to install it on my build
> server. There is no any GUI on the server, so I need some way to install qt
> without it. I downloaded qt-enterprise-linux-x64-android-5.6.1-1.run, but
> it seems does not have such option.
> I'd like to note, I do not want to build qt from sources, just install is
> enough for me.
> Is it possible to install it using command line only?
>
> Thanks,
> Sergey
>
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest