Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238093 - x11-libs/qt-core-4.4.2 needs xshape use flag
Summary: x11-libs/qt-core-4.4.2 needs xshape use flag
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-19 10:17 UTC by Markos Chandras (RETIRED)
Modified: 2009-01-29 17:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markos Chandras (RETIRED) gentoo-dev 2008-09-19 10:17:46 UTC
If you try to compile x11-libs/qt-core this warning comes up 

        NOTICE: Qt will not be built with XShape support.

        As a result, drag-and-drop in the Qt Designer will NOT
        work. We recommend that you enable XShape support by passing
        the -xshape switch to ./configure.  

I guess it would be a good idea to pass xshape as use flag or enable this switch by default on configure

Reproducible: Always

Steps to Reproduce:
1.emerge x11-list/qt-core-4.4.2
Comment 1 Ben de Groot (RETIRED) gentoo-dev 2008-09-19 12:32:43 UTC
XShape support is enabled in qt-gui and qt-xmlpatterns, and as a result drag-and-drop in Qt-Designer works. Therefore closing as invalid.
Comment 2 Erik 2009-01-29 15:53:39 UTC
I got this error message too. I do not understand why this is not a bug when there is a warning that something will not work, but then it works anyway.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2009-01-29 16:58:07 UTC
Because the only package that actually requires xshape is qt-gui and qt-xmlpatterns. None of the rest dont use that switch. Therefor is invalid because you alreay have "xshape" support . Try to emerge qt-gui and qt-xmlpatterns and notice the configure switches. 
Comment 4 Erik 2009-01-29 17:00:55 UTC
Then why is it OK that qt-core shows that warning message? The user will think that something is wrong and needs to be fixed.
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2009-01-29 17:03:16 UTC
There is nothing wrong. all the qt splitted packages are using the same configure script. Since we have -no-xshape on qt-core, qt-core complains but we dont care at all since qt-core doesnt make use of xshape support. 

As I said before qt-gui and qt-xmlpatterns need that and it is already enabled.
Comment 6 Erik 2009-01-29 17:11:26 UTC
In my opinion, showing that warning message is not the ideal way to inform the user that "There is nothing wrong.".
Comment 7 Markos Chandras (RETIRED) gentoo-dev 2009-01-29 17:15:28 UTC
We didnt write that warning message. It 's an upstream message and we cant do anything abou that.

However this bug is invalid anyway, I dont need to explain something else :)
Comment 8 Erik 2009-01-29 17:46:06 UTC
Of course something can be done about it. The misleading warning message about xshape can be removed from the packages that have nothing to do with xshape. If I recall correctly, ebuilds can apply patches, so it should be easy.