[Interest] Crash in QMediaPlayer due to missing codec

Thiago Macieira thiago.macieira at intel.com
Tue Jun 24 22:01:18 CEST 2025


On Tuesday, 24 June 2025 11:54:38 Pacific Daylight Time Axel Spoerl via 
Interest wrote:
> massive changes and improvements have been made in Qt 6 / QMultiMedia,
> logging and error handling included. Since Qt 5.15 is EOL, it's maybe a
> good time to upgrade to Qt 6.
> 
> In your application code, you can use the errorString() methods to bring
> backend messages forward. In addition you can set the environment variable
> QT_LOGGING_RULES="qt.multimedia.*=true" and inspect the logging output.
> 
> I am not sure for 5.15. But for Qt 6, you'll also get warnings about missing
> codecs this way.

One shouldn't get warnings. There should be a way for the application to 
programmatically get the error condition so it can display to the user.

However, Philippe hasn't provided enough information for us to know where the 
crash is happening. We need a working Qt 6.8+ application that reproduces the 
problem.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Principal Engineer - Intel Platform & System Engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5150 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20250624/0b881060/attachment.bin>


More information about the Interest mailing list