任务单 #43873

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

开放日期: 2022-02-16 06:06 最后更新: 2022-08-07 06:21

报告人:
属主:
类型:
状态:
关闭
组件:
里程碑:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:
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().

任务单历史 (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 (无) to cazfi
  • 处理结果 Update from to Accepted
2022-08-07 06:21 Updated by: cazfi
  • 状态 Update from 开启 to 关闭
  • 处理结果 Update from Accepted to Fixed

编辑

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