Ticket #43873

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

오픈 날짜: 2022-02-16 06:06 마지막 업데이트: 2022-08-07 06:21

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
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
댓글 올리기

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
  • 소유자 Update from (None) to cazfi
  • Resolution Update from None to Accepted
2022-08-07 06:21 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

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