VLC - Gtk-ERROR **: GTK+ 2.x symbols detected

AN andy at neu.net
Sun Mar 12 04:24:24 UTC 2017

FreeBSD BSD_12 12.0-CURRENT FreeBSD 12.0-CURRENT #30 r315085: Sat Mar 11 
17:19:33 EST 2017     root at BSD_12:/usr/obj/usr/src/sys/MYKERNEL  amd64

After a recent update VLC is broken.  I think it has to do with a recent 
change to qt5-widgets.  As of 5.7.1 the Configuration Options have changed 
from GTK2 to GTK3

===> The following configuration options are available for 
      GTK3=off: GTK+-based Qt theme

I built qt5-widgets-5.7.1 with GTK3=on and when I start vlc from the 
command line I get the following:

# vlc
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
[0000000802512ad0] logger interface: using logger.

(<unknown>:35191): Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x 
and GTK+ 3 in the same process is not supported
Trace/BPT trap (core dumped)

Previously, it was possible to put "QT4_OPTIONS=CUPS QGTKSTYLE 
NAS" into make.conf but I don't think it works anymore.  Any help fixing 
this is appreciated, thanks in advance.  Please include me in CC.  Should 
I file a PR?

More information about the freebsd-multimedia mailing list