Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 519806

Summary: media-video/vlc-2.1.4 USE=qt5 - configure: error: No package 'QtCore' found
Product: Gentoo Linux Reporter: Karel De Vriendt <kdvgent>
Component: Current packagesAssignee: Paweł Stankowski <aambitny>
Status: RESOLVED DUPLICATE    
Severity: normal CC: b.brachaczek, dlan, media-video, shubhadeepc, tomwij
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild environment
Fix VLC build with qt5 use flag

Description Karel De Vriendt 2014-08-13 10:25:23 UTC
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
Comment 1 Karel De Vriendt 2014-08-13 10:26:37 UTC
Created attachment 382812 [details]
ebuild environment
Comment 2 Shubhadeep Chaudhuri 2014-09-12 03:36:54 UTC
The patch from bug 489508 seems to fix this.
Comment 3 rx80 2014-10-10 16:56:41 UTC
With patch from bug 489508 applied it builds, runs and works fine.
Without patch it fails.
Comment 4 rx80 2014-10-10 16:57:28 UTC
Created attachment 386388 [details, diff]
Fix VLC build with qt5 use flag
Comment 5 Paweł Stankowski 2014-11-09 15:41:18 UTC

*** This bug has been marked as a duplicate of bug 489508 ***