[Interest] What is the difference.

william.crocker at analog.com william.crocker at analog.com
Wed Sep 24 12:20:02 CEST 2014


>>>
>>> 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 still on 4.8.6 trying to get some work done, where "work"
is defined as "something other than trying to get Qt to compile".

Here again, my app has two fundamental modes.

1 - Run as a GUI app and show the users plots on the screen
     that they can interact with.

2 - Run in batch mode where users can create plot files
     in any of my supported formats (PDF, SVG, PNG, WMF, etc.)
     This needs to work without access to an X11 Server.

My experience was that I could not get #2 to work
with a QCoreApplication (even though I think it should).

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.

Bill

>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
>



More information about the Interest mailing list