Closed nicmorais closed 2 years ago
Fixed by copying libc6.so and then running ./bin/YI-Hack-Player But this is not right, is it? In a different computer, the bug persists.
If you want to share your app then you should be build on maximum old distribution for example ubuntu 18.04. If you build on ubuntu 21.10 then you distribution kit will works correctly only on Ubuntu 21.10. If Ubuntu 18.04 the you app works correctly on 18.04 - 21.10.
Why you app not works i don't known. maybe you QtAV lib not copied. Show me you deploy log please.
Hello Andrei So, both computers run the same version of Ubuntu now, and the bug is still the same https://pastebin.com/5nBWMdyZ
i check you deploy log and i can't see copy QtAV lib into your distribution folder. Maybe you include the QtAV library as a plugin ?
if yes then you need to add -extraPlugin path/to/QtAV.so to deploy command and load this plugin using QLibraryInfo::PluginsPath
@EndrII Alright! But how do I load the plugin with such option? I mean, where and how do I put QLibraryInfo::PluginsPath? Also, my project is on Github if someone wants to inspect and/or try it.
@EndrII Andrei, it's solved! I deployed with: -extraPlugin /home/nicolas/Qt/5.15.2/gcc_64/lib/libQtAV.so.1,/home/nicolas/Qt/5.15.2/gcc_64/lib/libQtAVWidgets.so.1 And now it runs as expected on both computers! Thanks a lot, I wish a happy new year for you!
Describe the bug I'm trying to deploy a project that includes QtAv, which was succesfully built by Qt Creator. The copyright message shows on console, but there's no video widget. If i try to play something, the application crashes.
To Reproduce Steps to reproduce the behavior:
cqtdeployer -bin build-YI-Hack-Player-Desktop_Qt_5_15_2_GCC_64bit-Release/YI-Hack-Player -name YI-Hack-Player -icon YI-Hack-Player/data/icons/logo.svg
(tried also with -libDir)Expected behavior The video widget to show up, completely black
Screenshots Desktop (please complete the following information):