Opened 16 years ago
Closed 15 years ago
#5840 closed defect (fixed)
Qt enum Casting Failure with Qt 4.5-snapshot and gcc 4.3.0
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | 0.22 |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
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.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
This appears to have been fixed by changeset #18836. Please close.