0

At my end vlc-qt libraries working in Qt 4.8.6 but not working in Qt 5 in Ubuntu 14.04.

In Qt5 vlc-qt libraries compiled successfully but getting crashed while run the project into Qt5 in Ubuntu 14.04. Can anyone help me in this ?

Thanks.

User2546
  • 33
  • 1
  • 8

1 Answers1

0

Most likely it is due to a bug in the vlc package: https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/1328466 you have to reset vlc plugin cache to search for the correct version of qt:

sudo /usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins/

See my post here: How to use LibVLC with Qt 5

Community
  • 1
  • 1
arkan
  • 610
  • 6
  • 13
  • Thanks for your post. I run the command sudo /usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins/ at my end but issue still not resolved. – User2546 Feb 16 '15 at 08:42
  • Did you try using directly libvlc? You can use this snippet (https://wiki.videolan.org/LibVLC_SampleCode_Qt/#VLC_1.2_and_OpenSuse_11.3) (N.B opensuse example is the most up to date and should work with ubuntu as well). Also check when debugging that your call stack isn't trying to call Qt4 for dll/shared objects instead of Qt5. – arkan Feb 20 '15 at 01:00