linuxdeploy-plugin-qt icon indicating copy to clipboard operation
linuxdeploy-plugin-qt copied to clipboard

Fix crash with qt6 and multimedia plugin

Open smarttowel opened this issue 3 years ago • 8 comments

Qt6 doesn't contain plugins/mediaservice dir

smarttowel avatar Jun 20 '22 14:06 smarttowel

Could you provide a link to a build log, please? Or at least a log excerpt.

TheAssassin avatar Jun 20 '22 14:06 TheAssassin

Qt6 does ship multimedia, and it would be important to still support it: https://doc.qt.io/qt-6/qtmultimedia-index.html

vadi2 avatar Jun 20 '22 14:06 vadi2

This is what I thought as well. I'm curious to see how the plugin "crashes". I am pretty sure we just have to improve the deployer.

TheAssassin avatar Jun 20 '22 14:06 TheAssassin

It's exception from boost::filesystem on missed mediaservice dir:

what():  boost::filesystem::directory_iterator::construct: No such file or directory: "/home/pavel/Qt/6.3.1/gcc_64/plugins/mediaservice"
ERROR: Failed to run plugin: qt (exit code: 6)```

smarttowel avatar Jun 20 '22 14:06 smarttowel

Please add either the complete log or at least the (possibly censored) Qt plugin log.

TheAssassin avatar Jun 20 '22 14:06 TheAssassin

log.txt

smarttowel avatar Jun 20 '22 14:06 smarttowel

@TheAssassin What you think about it?

smarttowel avatar Jun 30 '22 09:06 smarttowel

I had the same problem and this PR fixes all issues for me.

LarsHaalck avatar Sep 05 '22 10:09 LarsHaalck

Thanks!

TheAssassin avatar Sep 27 '22 23:09 TheAssassin