Tíquete #43873

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

: 2022-02-16 06:06 Última Atualização: 2022-08-07 06:21

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Marcos:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
3

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 (3/7 Histories)

2022-02-16 06:06 Updated by: cazfi
  • New Ticket "Qt: QImageReader::supportedImageFormats() called before QApplication created" created
2022-07-19 16:27 Updated by: cazfi
Comentário

Hope to resolve this early in the 3.0.4 cycle (to have it in testing for the entirety of a release cycle)

2022-07-30 01:28 Updated by: cazfi
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Nenhum to Accepted
2022-08-07 06:21 Updated by: cazfi
  • Estado Update from Aberto to Fechado
  • Resolução Update from Accepted to Fixed

Editar

Please login to add comment to this ticket » Login