Re: [Development] Can QImage format plugins require QGuiApplication?

2020-04-13 Thread Giuseppe D'Angelo via Development
Hi, On 4/14/20 1:34 AM, Konstantin Tokarev wrote: The golden rule is that you're not allowed to touch any Qt API without creating a Q*Application object first, unless the documentation says otherwise. Question is whether Q_Core_Application should be sufficient for using and image format plugin

Re: [Development] Can QImage format plugins require QGuiApplication?

2020-04-13 Thread Konstantin Tokarev
14.04.2020, 02:27, "Giuseppe D'Angelo via Development" : > Il 13/04/20 18:50, Kevin Kofler ha scritto: >>  Today, a user on #fedora-kde ran across a crash which resulted from: >>  * a GTK+/GNOME application (Jami) using (for some reason) QImage to load >> images, without a QGuiApplication or

Re: [Development] Can QImage format plugins require QGuiApplication?

2020-04-13 Thread Giuseppe D'Angelo via Development
Il 13/04/20 18:50, Kevin Kofler ha scritto: Today, a user on #fedora-kde ran across a crash which resulted from: * a GTK+/GNOME application (Jami) using (for some reason) QImage to load images, without a QGuiApplication or QApplication constructed, vs. * a QImage format plugin (QtPBFImagePlugi

Re: [Development] Can QImage format plugins require QGuiApplication?

2020-04-13 Thread Allan Sandfeld Jensen
On Montag, 13. April 2020 18:50:17 CEST Kevin Kofler wrote: > Hi, > > I have a question concerning development of plugins for Qt, so hopefully it > is not entirely off-topic here: > > Today, a user on #fedora-kde ran across a crash which resulted from: > * a GTK+/GNOME application (Jami) using (f

Re: [Development] A modest proposal: disable lower-case keywords (emit, foreach, forever, signals, slots) by default

2020-04-13 Thread Ville Voutilainen
On Mon, 13 Apr 2020 at 06:11, Nathan Myers wrote: > The prevailing feeling in the room, when the vote was taken, > was that Qt people MUST BE SMOKING CRACK if they think > the ISO 14882 C++ Standard should or would tiptoe around Qt's > aggressive abuse of lower-case macro names. That Qt has a

Re: [Development] Can QImage format plugins require QGuiApplication?

2020-04-13 Thread Thiago Macieira
On Monday, 13 April 2020 13:50:17 -03 Kevin Kofler wrote: > Hi, > > I have a question concerning development of plugins for Qt, so hopefully it > is not entirely off-topic here: > > Today, a user on #fedora-kde ran across a crash which resulted from: > * a GTK+/GNOME application (Jami) using (for

[Development] Can QImage format plugins require QGuiApplication?

2020-04-13 Thread Kevin Kofler
Hi, I have a question concerning development of plugins for Qt, so hopefully it is not entirely off-topic here: Today, a user on #fedora-kde ran across a crash which resulted from: * a GTK+/GNOME application (Jami) using (for some reason) QImage to load images, without a QGuiApplication or QAp