[mythtv-commits] Ticket #1417: build error: /usr/include/X11/X.h and /usr/include/qt3/qdir.h both use "Unsorted"
MythTV
mythtv at cvs.mythtv.org
Wed Mar 1 18:00:26 UTC 2006
#1417: build error: /usr/include/X11/X.h and /usr/include/qt3/qdir.h both use
"Unsorted"
-------------------------------------+--------------------------------------
Reporter: Robert Tsai <rtsai1111> | Owner: ijr
Type: defect | Status: closed
Priority: major | Milestone:
Component: mythtv | Version: head
Severity: medium | Resolution: fixed
-------------------------------------+--------------------------------------
Comment (by jcaputo1 at comcast.net):
This is a known problem with Qt/X11. Trolltech recommends that Qt headers
always be included before X11 headers; however, in practice this is not a
perfect solution, and sometimes requires including unnecessary Qt headers
in a source file just to circumvent name conflicts. There's really not
much else you can do.
Bottom line: this is why #defines are evil for anything other than
conditional compilation.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/1417>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list