Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#11094 closed Patch - Feature (fixed)

QT5 patches for removed defines

Reported by: Gary Buhrmaster <gary.buhrmaster@…> Owned by: Daniel Thor Kristjansson <danielk@…>
Priority: trivial Milestone: 0.27
Component: MythTV - General Version: Master Head
Severity: low Keywords: QT5
Cc: Ticket locked: no

Description

QT5 is in beta, and bleeding edge distros are likely to provide it as an alternative in their next cycle or two, although I would not expect it to be the default for quite some time. Regardless, one of the changes in QT5 is the removal of the Q_WS_<OSTYPE> defines, requiring one to use the Q_OS_<OSTYPE> defines (existing since QT 3.<something>), and already used in some parts of the MythTV code. This patch changes the Q_WS_ defines to Q_OS_ defines, and should be safe for any supported QT version, and prepares MythTV for the inevitable QT5 default on some distro at some future date (probably a few years from now).

Attachments (1)

0001-qt5-defines.patch (6.2 KB) - added by Gary Buhrmaster <gary.buhrmaster@…> 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by Gary Buhrmaster <gary.buhrmaster@…>

Attachment: 0001-qt5-defines.patch added

comment:1 Changed 11 years ago by Daniel Thor Kristjansson <danielk@…>

Owner: set to Daniel Thor Kristjansson <danielk@…>
Resolution: fixed
Status: newclosed

In 25ef08d5779025bb4ead6761b144a67ad87e9004/mythtv:

Fixes #11094. Use Qt5 compatible Q_OS_MAC define where needed.

comment:2 Changed 11 years ago by Karl Dietz <dekarl@…>

In b12fb59eddba216e9dbe9b4384cc7cef5bf03a6f/packaging:

update default_directories to apply past [25ef08d5]

Refs #11094

comment:3 Changed 11 years ago by Raymond Wagner

Milestone: unknown0.27
Note: See TracTickets for help on using tickets.