[mythtv-commits] Ticket #12065: Qt5 feature patch to resolve X11/Xlib.h Bool define issue

MythTV noreply at mythtv.org
Tue Feb 25 12:45:02 UTC 2014


#12065: Qt5 feature patch to resolve X11/Xlib.h Bool define issue
-------------------------------------+-------------------------------------
 Reporter:  Gary Buhrmaster          |          Owner:  Gary Buhrmaster
  <gary.buhrmaster@…>                |  <gary.buhrmaster@…>
     Type:  Patch - Feature          |         Status:  closed
 Priority:  minor                    |      Milestone:  0.28
Component:  MythTV - Video Library   |        Version:  Master Head
 Severity:  medium                   |     Resolution:  fixed
 Keywords:  Qt5                      |  Ticket locked:  0
-------------------------------------+-------------------------------------

Comment (by Gary Buhrmaster <gary.buhrmaster@…>):

 In [changeset:"83ddcc8dda52365c38e5c767cc2479e59c576442/mythtv"]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="83ddcc8dda52365c38e5c767cc2479e59c576442"
 Resolve X11/Xlib.h define of Bool and Qt5 (5.2)

 Xlib.h has a "#define Bool int", which causes compilation issues with
 other uses of
 Bool, specifically in qsonvalue.h in Qt5.  This patch rearranges the
 MythTV source file
 includes to bypass the issue.

 Fixes #12065
 Signed-off-by: Stuart Auchterlonie <stuarta at squashedfrog.net>

 Signed-off-by: Stuart Auchterlonie <stuarta at mythtv.org>
 }}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12065#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list