[mythtv-commits] Ticket #5840: Qt enum Casting Failure with Qt 4.5-snapshot and gcc 4.3.0
MythTV
mythtv at cvs.mythtv.org
Sat Oct 18 18:00:35 UTC 2008
#5840: Qt enum Casting Failure with Qt 4.5-snapshot and gcc 4.3.0
---------------------------------+------------------------------------------
Reporter: pebender at san.rr.com | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: 0.22
Component: mythtv | Version: head
Severity: low | Mlocked: 0
---------------------------------+------------------------------------------
When I build trunk against Qt4.5.0-snapshot-20081018 using gcc 4.3.0,
compilation fails because it cannot figure out to cast two Qt enums that
are being or-ed together.
I have attached a patch that fixes the problem by explicitly casting the
enums to ints. The patch also changes Qt::KeyButtonMask to
Qt::KeyboardModifierMask per the qt 3 to qt 4 porting instructions.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5840>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list