Opened 5 years ago

Closed 5 years ago

Last modified 5 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


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@…> 5 years ago.

Download all attachments as: .zip

Change History (4)

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

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

  • Owner set to Daniel Thor Kristjansson <danielk@…>
  • Resolution set to fixed
  • Status changed from new to closed

In 25ef08d5779025bb4ead6761b144a67ad87e9004/mythtv:

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

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

In b12fb59eddba216e9dbe9b4384cc7cef5bf03a6f/packaging:

update default_directories to apply past [25ef08d5]

Refs #11094

comment:3 Changed 5 years ago by wagnerrp

  • Milestone changed from unknown to 0.27

Add Comment

Modify Ticket

as closed The owner will remain Daniel Thor Kristjansson <danielk@…>.
The resolution will be deleted. Next status will be 'new'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.