Re: [Interest] What is the difference.

2014-09-26 Thread Thiago Macieira
On Friday 26 September 2014 15:09:45 Karl Ruetz wrote: > Can this be done with statically linked programs? > Do I just need to explicitly add the platform .a file to the LIBS in the Qt > project file? Yes, it can be statically linked, but trying to statically link two or more QPA plugins is a dan

Re: [Interest] What is the difference.

2014-09-26 Thread Elvis Stansvik
2014-09-26 22:09 GMT+02:00 Karl Ruetz : > > On Sep 26, 2014, at 2:37 PM, Karl Ruetz wrote: > > > > > On Sep 24, 2014, at 10:22 AM, Thiago Macieira > wrote: > > > >> On Wednesday 24 September 2014 10:41:09 Koehne Kai wrote: > >>> I think Thiago already wrote it: use the offscreen plugin . Launch

Re: [Interest] What is the difference.

2014-09-26 Thread Karl Ruetz
On Sep 26, 2014, at 2:37 PM, Karl Ruetz wrote: > > On Sep 24, 2014, at 10:22 AM, Thiago Macieira > wrote: > >> On Wednesday 24 September 2014 10:41:09 Koehne Kai wrote: >>> I think Thiago already wrote it: use the offscreen plugin . Launch your app >>> with e.g. >>> >>> -platform minimal >>

Re: [Interest] What is the difference.

2014-09-26 Thread Karl Ruetz
On Sep 24, 2014, at 10:22 AM, Thiago Macieira wrote: > On Wednesday 24 September 2014 10:41:09 Koehne Kai wrote: >> I think Thiago already wrote it: use the offscreen plugin . Launch your app >> with e.g. >> >> -platform minimal >> >> And continue to use QApplication. > > offscreen, not mini

Re: [Interest] What is the difference.

2014-09-24 Thread Thiago Macieira
On Wednesday 24 September 2014 10:41:09 Koehne Kai wrote: > I think Thiago already wrote it: use the offscreen plugin . Launch your app > with e.g. > > -platform minimal > > And continue to use QApplication. offscreen, not minimal. You can also set QT_QPA_PLATFORM environment variable before

Re: [Interest] What is the difference.

2014-09-24 Thread Koehne Kai
> -Original Message- > [...] > The life saver was > > QApplication ( int & argc, char ** argv, bool GUIenabled ) > With GUIenabled set to "false". > > I see that QApplication in Qt5 has removed that option. > > So, how will I do all of the above in Qt5. I think Thiago already

Re: [Interest] What is the difference.

2014-09-24 Thread william.croc...@analog.com
>>> >>> I do not remember the specifics... might have had something >>> to do with fontconfig or the use of the QImage class. >>> Note that this constructor is removed in Qt 5. >>> Is that another reason why I can never use Qt 5? >> >> Karl > > Can't you just use QGuiApplication? I'm st

Re: [Interest] What is the difference.

2014-09-24 Thread Mitch Curtis
On 22/09/14 17:33, Karl Ruetz wrote: > On Sep 22, 2014, at 10:25 AM, william.croc...@analog.com wrote: > >> On 09/22/2014 11:10 AM, Thiago Macieira wrote: >>> On Monday 22 September 2014 11:01:23 william.croc...@analog.com wrote: Gang: While we are talking about the need for a Q[Cor

Re: [Interest] What is the difference.

2014-09-22 Thread william.croc...@analog.com
On 09/22/2014 11:32 AM, Thiago Macieira wrote: > On Monday 22 September 2014 11:25:11 william.croc...@analog.com wrote: >>> It creates a QApplication, which enables a bunch of backend things, >>> without >>> also connecting to the display server. >> >> When my normally-GUI application is run "off-l

Re: [Interest] What is the difference.

2014-09-22 Thread william.croc...@analog.com
On 09/22/2014 11:33 AM, Karl Ruetz wrote: > > On Sep 22, 2014, at 10:25 AM, william.croc...@analog.com wrote: > >> On 09/22/2014 11:10 AM, Thiago Macieira wrote: >>> On Monday 22 September 2014 11:01:23 william.croc...@analog.com wrote: Gang: While we are talking about the need for a

Re: [Interest] What is the difference.

2014-09-22 Thread Thiago Macieira
On Monday 22 September 2014 10:33:07 Karl Ruetz wrote: > I have a similar problem with a “console” program that creates PDF reports > that include graphics. I have to use the QApplication, with connections to > the Display and all that implies when all I really want to do is use > QPainter and QPdf

Re: [Interest] What is the difference.

2014-09-22 Thread Thiago Macieira
On Monday 22 September 2014 11:25:11 william.croc...@analog.com wrote: > > It creates a QApplication, which enables a bunch of backend things, > > without > > also connecting to the display server. > > When my normally-GUI application is run "off-line" > (to create plot images in files as opposed

Re: [Interest] What is the difference.

2014-09-22 Thread Karl Ruetz
On Sep 22, 2014, at 10:25 AM, william.croc...@analog.com wrote: > On 09/22/2014 11:10 AM, Thiago Macieira wrote: >> On Monday 22 September 2014 11:01:23 william.croc...@analog.com wrote: >>> Gang: >>> >>> While we are talking about the need for a Q[Core]Application... >>> >>> What is the differ

Re: [Interest] What is the difference.

2014-09-22 Thread william.croc...@analog.com
On 09/22/2014 11:10 AM, Thiago Macieira wrote: > On Monday 22 September 2014 11:01:23 william.croc...@analog.com wrote: >> Gang: >> >> While we are talking about the need for a Q[Core]Application... >> >> What is the difference between; >> >> QCoreApplication(argv,argc); >> >> and >> >>

Re: [Interest] What is the difference.

2014-09-22 Thread Thiago Macieira
On Monday 22 September 2014 11:01:23 william.croc...@analog.com wrote: > Gang: > > While we are talking about the need for a Q[Core]Application... > > What is the difference between; > > QCoreApplication(argv,argc); > > and > > QApplication(argc,argc,false); // Note GUIEnabled=false

Re: [Interest] What is the difference.

2014-09-22 Thread Sze Howe Koh
Hi, On 22 September 2014 23:01, william.croc...@analog.com wrote: > Gang: > > While we are talking about the need for a Q[Core]Application... > > What is the difference between; > > QCoreApplication(argv,argc); > > and > > QApplication(argc,argc,false); // Note GUIEnabled=false QCoreA

[Interest] What is the difference.

2014-09-22 Thread william.croc...@analog.com
Gang: While we are talking about the need for a Q[Core]Application... What is the difference between; QCoreApplication(argv,argc); and QApplication(argc,argc,false); // Note GUIEnabled=false Thanks. Bill ___ Interest mailing list Interes