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

Bug 572070

Summary: media-video/avidemux-2.6.8[qt4] does not compile when Qt5 installed
Product: Gentoo Linux Reporter: Malte E. <malte_e1>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 549818    
Bug Blocks: 544108    

Description Malte E. 2016-01-16 09:34:41 UTC
The compilation fails, although qt-gui:4 is installed


-- Checking for Qt 4
-- *****************
-- Found unsuitable Qt version "5.5.1" from /usr/bin/qmake
Could not find Qt 4

CMake Error at CMakeLists.txt:17 (MESSAGE):
  Qt4 NOT FOUND

Reproducible: Always
Comment 1 Christian Tietz 2016-01-30 11:07:58 UTC
I confirm the bug. Looks like bug 549818 needs to be solved, for newer versions support both qt4 and qt5.
Comment 2 Chris Paras 2016-02-26 14:58:09 UTC
Workaround:

Set QT_SELECT env variable before emerging avidemux, e.g. :

sudo QT_SELECT=qt4 USE=qt4 emerge -v avidemux
Comment 3 Larry the Git Cow gentoo-dev 2017-12-09 13:52:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e84e6512ff8639f870499208ddf40608cc8d4d4

commit 9e84e6512ff8639f870499208ddf40608cc8d4d4
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2017-12-09 13:45:54 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2017-12-09 13:52:24 +0000

    media-video/avidemux: Drop USE=qt4
    
    Bug: https://bugs.gentoo.org/549818
    Closes: https://bugs.gentoo.org/558166
    Closes: https://bugs.gentoo.org/572070
    Package-Manager: Portage-2.3.17, Repoman-2.3.6

 media-video/avidemux/avidemux-2.6.20.ebuild | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)