Problem solved ([vlc] Qt4 plugin into Qt5 program)

Duncan 1i5t5.duncan at cox.net
Wed May 17 11:28:04 BST 2017


René J.V. Bertin posted on Wed, 17 May 2017 11:58:13 +0200 as excerpted:

> On Wednesday May 17 2017 11:53:16 Nikos Chantziaras wrote:
>>Prepare for hostility. Last time I tried (many years ago) I was chased
>>off very quickly with "VLC is not a KDE application, gtfo."
> 
> Oh, trust me, I have intimate experience with the VLC community spirit
> as defined by a few select members of said community ... and they
> probably remember me too ;)
> 
> This is not a KDE-specific thing though. Phonon is an extension for any
> Qt application, and if Videolan intend to place their libVLC as a
> generic multimedia library they should consider certain facts. 
> GTk/Gnome applications might also want to use libVLC for its multimedia
> features but not any of the GUI features it might provide. In that case
> the simple loading of the Qt plugin will probably not cause any issues
> but it still doesn't make much sense.
> 
> So yeah, this shouldn't be presented as a bug, more of a
> feature/usability request, and it would undoubtedly help to present a
> nice patch.
> 
> The fact their Qt plugin is called libqt4_plugin even when Qt5 is used
> is a different matter ;)
> 
> BTW, do *we* use any GUI features from libVLC? Not in systemsettings5 in
> any case; the multimedia KCM still works fine when I  hide VLC's Qt
> plugin.

FWIW, I'm not having any problems with vlc or kde5's systemsettings5 
here, on gentoo, even with vlc built with USE="qt4 -qt5" (because last 
time I tried it with qt5 instead, it didn't integrate well, but that was 
some time ago in the kde5/plasma5 history, I've not tried recently).

So it seems either newer versions (vlc-2.2.4-r1, r1 denoting a gentoo-
level bump from the original release, frameworks and plasma built from 
git and updated... three days ago, 0514) or gentoo/kde patches or build 
options have eliminated the problem, here.

FWIW, emerge --info vlc says:

media-video/vlc-2.2.4-r1::gentoo was built with the following:

USE="X a52 alsa avcodec avformat cdda dbus dts dvbpsi dvd encode faad 
ffmpeg flac fontconfig gcrypt gnutls jpeg libass mp3 mpeg ncurses ogg 
opengl png postproc projectm qt4 schroedinger skins speex svg swscale 
taglib theora truetype udev vaapi vdpau vorbis vpx x264 xcb xml xv -aalib 
(-altivec) -atmo (-audioqueue) -bidi -bluray -cddb -chromaprint -dc1394 -
debug -directfb (-directx) -dvb (-dxva2) -fdk -fluidsynth -gme -gnome -
growl -gstreamer -httpd -ieee1394 -jack -kate -kde -libav -libcaca -
libnotify -libsamplerate -libtar -libtiger -linsys -lirc -live -lua (-
macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-
quartztext) -matroska -modplug -mtp -musepack (-neon) -omxil -opencv -
optimisememory -opus -pulseaudio -qt5 -rdp -rtsp -run-as-root -samba -sdl 
-sdl-image -sftp -shout -sid -test -tremor -twolame -upnp -v4l -vcdx -vlm 
-vnc -wma-fixed -x265 -zeroconf -zvbi"

CPU_FLAGS_X86="mmx sse"

That's gentoo ~amd64, built with gcc-6.3.0, with pie (position-
independent executables), sanitize, ssp (stack-smashing-protection), and 
vtv (virtual table verification) hardening options on, but with graphite 
loop optimizations off.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman





More information about the kde mailing list