Installed qt5 and kde plasma-5.0 from qt and kde overlays. vlc-2.1.4 recognizes the qt5 use variable but does not find the relevant qt5 packages. Reproducible: Always Steps to Reproduce: 1. install qt5 from qt overlay 2. try to emerge vlc with the qt5 use variable set 3. Actual Results: emerge fails with error: checking for QT... no checking for QT... no configure: error: No package 'QtCore' found No package 'QtGui' found. Expected Results: vlc emerges emerge command: # USE="qt5" emerge -av vlc These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-video/vlc-2.1.4:0/5-7 USE="X a52 alsa avcodec avformat cdda dbus dts dvbpsi dvd egl encode ffmpeg flac gcrypt libnotify mmx mp3 mpeg ncurses ogg opengl png postproc qt5* sdl sse svg swscale truetype udev vorbis x264 xcb xml xv -aalib (-altivec) -atmo (-audioqueue) -avahi -bidi -bluray -cddb -chromaprint -dc1394 -debug -dirac -directfb (-directx) -dvb (-dxva2) -faad -fdk -fluidsynth -fontconfig -gme -gnome -gnutls -growl -httpd -ieee1394 (-ios-vout) -jack -kate -kde -libass -libcaca -libsamplerate -libtar -libtiger -linsys -lirc -live -lua (-macosx) (-macosx-audio) (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) (-macosx-vout) -matroska (-media-library) -modplug -mtp -musepack (-neon) -omxil -opencv -optimisememory -opus -projectm -pulseaudio -qt4 -rdp -rtsp -run-as-root -samba -schroedinger -sdl-image -sftp -shout -sid -skins -speex -taglib {-test} -theora -tremor -twolame -upnp -v4l -vaapi -vcdx -vdpau -vlm -vnc -wma-fixed -zvbi" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Created attachment 382812 [details] ebuild environment
The patch from bug 489508 seems to fix this.
With patch from bug 489508 applied it builds, runs and works fine. Without patch it fails.
Created attachment 386388 [details, diff] Fix VLC build with qt5 use flag
*** This bug has been marked as a duplicate of bug 489508 ***