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

Bug 368279

Summary: media-sound/sonic-visualiser-1.8 does not find qt4 qmake, tries to use qt3
Product: Gentoo Linux Reporter: Jouni Rinne <l33tmmx>
Component: Current packagesAssignee: Professional Audio Applications Maintainers <proaudio>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: sonic-visualiser-1.8 build.log
emerge --info

Description Jouni Rinne 2011-05-21 18:14:02 UTC
Created attachment 274215 [details]
sonic-visualiser-1.8 build.log

Building sonic-visualiser-1.8 breaks because it fails to find qt4 qmake, trying to use qt3 qmake instead.

checking for qmake-qt4... no
checking for qmake... /usr/qt/3/bin/qmake
Qmake version: 1.07a (Qt 3.3.8b)
Qmake is free software from Trolltech ASA.
configure: WARNING:
 *** The version of qmake found in "/usr/qt/3/bin/qmake" looks like it might be
     from the wrong version of Qt (Qt4 is required).  Please check
     that this is the correct version of qmake for Qt4 builds.

I suppose this happens only on systems with both qt3 and qt4 installed.
Comment 1 Jouni Rinne 2011-05-21 18:14:53 UTC
Created attachment 274217 [details]
emerge --info
Comment 2 Rafał Mużyło 2011-05-21 21:16:00 UTC
Well, while the macro they use is a bit error prone and in other part at least potentially broken (in et_EE locale), it doesn't change the fact, that kde-sunset is explicitly unsupported.
Comment 3 Tim Harder gentoo-dev 2011-05-22 03:47:54 UTC
Closing as wontfix since we don't support kde-sunset as mentioned in comment 2.

However, don't let that dissuade you from fixing the macro and pushing it upstream if having a system with both qt3/qt4 is that important to you.
Comment 4 Talamona Francesco 2011-11-26 16:59:20 UTC
Here's a 4 step work-around:

1) make sure you have qmake from qt4:
/usr/bin/qmake -v
QMake version 2.01a
Using Qt version 4.7.2 in /usr/lib64/qt4

2) put aside old qmake and replace it
mv /usr/qt/3/bin/qmake /usr/qt/3/bin/qmake.bak
ln -s /usr/bin/qmake /usr/qt/3/bin/qmake

3) emerge sonic-visualizer
emerge sonic-visualiser

4) rollback qmake
rm /usr/qt/3/bin/qmake
mv /usr/qt/3/bin/qmake.bak /usr/qt/3/bin/qmake