Summary: | media-video/vlc USE=qt5 - In file included from dialogs_provider.cpp:32: ./ui/open.h:14:29: fatal error: QtWidgets/QAction: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Eugene Shalygin <eugene.shalygin> |
Component: | Current packages | Assignee: | Paweł Stankowski <aambitny> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | 4nykey, b.brachaczek, dlan, grepwood, januszmk6, josef64, kdvgent, kroemmelbein, mail, malte_e1, matthew, media-video, shubhadeepc, uwelk |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 454132 | ||
Bug Blocks: | |||
Attachments: |
build.log
point configure in the right direction |
Description
Eugene Shalygin
2013-10-26 20:20:03 UTC
Created attachment 362018 [details]
build.log
It seems like Qt5 is detected by VLC as Qt4
Great to know that 9999 does compile, I might port back some commits. Which exact version and overlay of Qt is this? (In reply to Tom Wijsman (TomWij) from comment #2) > Which exact version and overlay of Qt is this? I got the same result with qt-5.1.1 from the Oct 04 version of the layman qt overlay. (In reply to Tom Wijsman (TomWij) from comment #2) > Which exact version and overlay of Qt is this? And I with Qt 5.2.0_beta1 from Qt overlay When Qt 5 hits the Portage tree, please try again then; and if it is still broken by then, comment on this bug and I will reopen it. It's too early to expect Qt 5 to be properly supported; and given it is still in an overlay, it can be seen as unsupported by design. If you want this to work; ask upstream to support Qt 5 (if they're not already working on it), and keep trying later versions of vlc. TIA. *** Bug 504912 has been marked as a duplicate of this bug. *** *** Bug 509598 has been marked as a duplicate of this bug. *** *** Bug 512324 has been marked as a duplicate of this bug. *** (In reply to Tom Wijsman (TomWij) from comment #5) > When Qt 5 hits the Portage tree, please try again then; and if it is still It's still broken, so you get tons of duplicates while this bug is closed. Created attachment 379356 [details, diff]
point configure in the right direction
Helps autotools to find qt5 stuff on gentoo.
Changes to the ebuild:
--- vlc-2.1.4.ebuild 2014-03-26 21:01:25.000000000 +0200
+++ vlc-2.1.4.ebuild 2014-06-21 13:27:27.000000000 +0300
@@ -204,10 +204,7 @@
src_prepare() {
# Support for Qt5.
- if use qt5 ; then
- export UIC="/usr/lib64/qt5/bin/uic"
- export MOC="/usr/lib64/qt5/bin/moc"
- fi
+ epatch "${FILESDIR}"/${P}-qt5.patch
# Remove unnecessary warnings about unimplemented pragmas on gcc for now.
# Need to recheck this with gcc 4.9 and every subsequent minor bump of gcc
Patch in #10 works for me. Thanks! *** Bug 524666 has been marked as a duplicate of this bug. *** I also had this problem with compiling VLC with qt5 support, but I stucked on 'configure' phase. Configure script incorrectly searches for Qt<module>.pc file instead of Qt5<module>.pc. Patch from comment #10 fixed that for me for version 2.1.2. Please apply it. :-) BTW similar fixes were done upstream in few commits from 2013-08-27 to 2013-09-08 and were applied to 2.2.0 version. Patch should not be needed for this and newer versions of VLC. Patch in Comment 10 works for me. Thanks! But i am not happy with vlc 2.1.5 with QT5 :-( I first deleted the previous vlc config files in my home folder. When I try to play a video with VLC, VLC starts with two windows. The video plays in window #2, the controls and Menu is in window #1. vlc foo.mp4 VLC media player 2.1.5 Rincewind (revision 2.1.4-49-gdab6cb5) [0x7f7f4d269248] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. Fontconfig warning: FcPattern object size does not accept value "0" Fontconfig warning: FcPattern object size does not accept value "0" Fontconfig warning: FcPattern object size does not accept value "0" Fontconfig warning: FcPattern object size does not accept value "0" [0x7f7f08001248] main vout display error: Failed to resize display And: When I select in the menu Tools -> Customize Select Interface, vlc crashes: QPixmap :: grave widget is deprecated, use QWidget :: grave () instead QPixmap :: grave widget is deprecated, use QWidget :: grave () instead QPixmap :: grave widget is deprecated, use QWidget :: grave () instead QPixmap :: grave widget is deprecated, use QWidget :: grave () instead QPixmap :: grave widget is deprecated, use QWidget :: grave () instead QPixmap :: grave widget is deprecated, use QWidget :: grave () instead QPixmap :: grave widget is deprecated, use QWidget :: grave () instead QPixmap :: grave widget is deprecated, use QWidget :: grave () instead QPixmap :: grave widget is deprecated, use QWidget :: grave () instead QPixmap :: grave widget is deprecated, use QWidget :: grave () instead Segmentation fault Actual QT5 5.3.2 from portage. Any idea? emerge --info vlc Portage 2.2.8-r2 (hardened/linux/amd64, gcc-4.8.3, glibc-2.19-r1, 3.16.4-hardened-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.16.4-hardened-r1-x86_64-Intel-R-_Core-TM-_i7-2630QM_CPU_@_2.00GHz-with-gentoo-2.2 KiB Mem: 20578828 total, 1993388 free KiB Swap: 0 total, 0 free Timestamp of tree: Fri, 10 Oct 2014 11:00:01 +0000 ld GNU ld (Gentoo 2.23.2 p1.0) 2.23.2 app-shells/bash: 4.2_p53 dev-java/java-config: 2.2.0 dev-lang/perl: 5.18.2-r1 dev-lang/python: 2.7.8, 3.3.5-r1 dev-util/cmake: 2.8.12.2-r1 dev-util/pkgconfig: 0.28-r1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.6, 1.13.4 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.8.3 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2-r1 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.13 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo steam-overlay vdr-devel fouxlay lokal ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=corei7 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=corei7 -O2 -pipe" DISTDIR="/usr/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C" LC_ALL="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/steam /var/lib/layman/vdr-devel /var/lib/layman/fouxlay /usr/local/portage" USE="X a52 aac aacs acl acpi alsa amd64 amrenc avx berkdb bluetooth bluray branding btrfs bzip2 cairo cdda cddb cdr cec chroma chromaprint clamav cli clucene corefonts cracklib crypt cryptsetup css cups cxx dbus declarative device-mapper dmraid dri dts dv dvb dvd dvdr ebook encode epub exif ext4 f2fs faac faad fam fat fax ffmpeg flac fontconfig fontforge fortran fuse gdbm gif gimp google gpg gphoto2 gpm gtk gudev hardened iconv id3tag idn infinality inotify introspection ipv6 iscsi jfs jpeg jpeg2k justify kde kdecards kdepim kipi kolab ladspa lame lcms ldap libkms libnotify libsamplerate libsoxr libvisual lirc llvm-shared-libs lm_sensors lvm lxc lz4 lzma lzo mad matroska mdadm mmx mng mobi mod modemmanager modplug modules mp3 mp4 mpeg mplayer mtp multilib multimedia musicbrainz mysql natspec ncurses networkmanager nfs nls nptl ntfs ogg opencl opencv openexr opengl openmp openrc opus pam pango pax_kernel pcmcia pcre pdf phonon pkcs11 plasma png policykit postscript ppds ppp pvr qt3support qt4 rar raw rdesktop readline reiser4 reiserfs rss samba scanner sdl semantic-desktop session sftp smartcard sna sndfile spell sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification subversion svg system-cairo system-icu system-jpeg system-sqlite systemd taglib tcpd threads thumbnail tiff truetype udev udisks unicode upnp upower urandom usb uvm v4l vaapi vcd vdpau vdr vlc vnc vorbis vpx webinterface webp wifi wxwidgets x264 x265 xa xattr xcb xcomposite xfs xinerama xkb xml xmp xpm xscreensaver xtpax xv xvid xvmc zeroconf zip zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc qemu emu" INPUT_DEVICES="evdev keyboard mouse joystick synaptics vmmouse lirc" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver presenter-minimizer wiki-publisher" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="*" USERLAND="GNU" VIDEO_CARDS="intel vmware virtualbox modesetting vesa nouveau i915 i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON ================================================================= Package Settings ================================================================= media-video/vlc-2.1.5-r1 was built with the following: USE="X a52 alsa avcodec avformat bluray cdda cddb chromaprint dbus dts dvb dvbpsi dvd encode faad ffmpeg flac fontconfig gcrypt httpd kde libnotify libsamplerate lirc lua matroska mmx modplug mp3 mpeg mtp ncurses ogg opencv opengl opus png postproc qt5 samba sdl sftp skins sse svg swscale taglib truetype udev upnp v4l vaapi vdpau vnc vorbis x264 xcb xml xv -aalib (-altivec) -atmo (-audioqueue) -avahi -bidi -dc1394 -debug -dirac -directfb (-directx) (-dxva2) -egl -fdk -fluidsynth -gme -gnome -gnutls -growl -ieee1394 (-ios-vout) -jack -kate -libass -libcaca -libtar -libtiger -linsys -live (-macosx) (-macosx-audio) (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) (-macosx-vout) (-media-library) -musepack (-neon) -omxil -optimisememory -projectm -pulseaudio -qt4 -rdp -rtsp -run-as-root -schroedinger -sdl-image -shout -sid -speex -test -theora -tremor -twolame -vcdx -vlm -wma-fixed -zvbi" ABI_X86="64" LDFLAGS="-Wl,-O1 -Wl,--as-needed -L/usr/lib64/sidplay/builders/" Frank, this is another bug known upstream: https://trac.videolan.org/vlc/ticket/9410 Qt5 support in VLC 2.1 series is not complete, it is 100% ready in 3.0 branch (not officially released, yet): https://trac.videolan.org/vlc/ticket/8532 Therefore I think Qt5 USE flag should never be available for VLC 2.x as it is not offering some features of Qt4 USE flag. BTW, I was able to play a video in the main window using Qt5 when compiled VLC 3.0 from GIT. I had to manually resolve these bugs: #524996 #519050 (needed only for 'dvd' USE flag) https://trac.videolan.org/vlc/ticket/12384 #525004 (In reply to Paweł Stankowski from comment #15) > Frank, this is another bug known upstream: > https://trac.videolan.org/vlc/ticket/9410 > > Qt5 support in VLC 2.1 series is not complete, it is 100% ready in 3.0 > branch (not officially released, yet): > https://trac.videolan.org/vlc/ticket/8532 > > Therefore I think Qt5 USE flag should never be available for VLC 2.x as it > is not offering some features of Qt4 USE flag. > > BTW, I was able to play a video in the main window using Qt5 when compiled > VLC 3.0 from GIT. I had to manually resolve these bugs: > > #524996 > #519050 (needed only for 'dvd' USE flag) > https://trac.videolan.org/vlc/ticket/12384 > #525004 Thanks for the help and Infos! *** Bug 519806 has been marked as a duplicate of this bug. *** Qt5 is still masked in portage, and it is not officially supported in VLC 2.1.x by upstream. There were more problems with Qt5, and upstream devs solved them in 2.2.x branch only ([2] as an example). To avoid backporting many commits and additional work for proxy maintainers, I decided to drop support for qt5 use flag in VLC 2.1.x. [1] https://trac.videolan.org/vlc/ticket/8532 [2] https://trac.videolan.org/vlc/ticket/12384 qt5 use flag removed from 2.1.x branch. |