Incidencia #43873

Qt: QImageReader::supportedImageFormats() called before QApplication created

Abrir Fecha: 2022-02-16 06:06 Última actualización: 2022-02-16 06:06

Informador:
Propietario:
(Ninguno)
Tipo:
Estado:
Open
Componente:
Hito:
(Ninguno)
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Ninguno
Fichero:
Ninguno

Details

https://doc.qt.io/qt-6/qimagereader.html#supportedImageFormats says about QImageReader::supportedImageFormats(): "Note that the QApplication instance must be created before this function is called."

We call the function from initial tileset setup -> gfx_fileextensions() (e.g. for loading intro gfx). QApplication is instantiated only later in ui_main().

Ticket History (1/1 Histories)

2022-02-16 06:06 Updated by: cazfi
  • New Ticket "Qt: QImageReader::supportedImageFormats() called before QApplication created" created

Attachment File List

No attachments

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Entrar