Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 19 months ago

Closed 16 months ago

Last modified 15 months 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@…> 19 months ago.

Download all attachments as: .zip

Change History (4)

Changed 19 months ago by Gary Buhrmaster <gary.buhrmaster@…>

comment:1 Changed 16 months 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 16 months ago by Karl Dietz <dekarl@…>

In b12fb59eddba216e9dbe9b4384cc7cef5bf03a6f/packaging:

update default_directories to apply past [25ef08d5]

Refs #11094

comment:3 Changed 15 months ago by wagnerrp

  • Milestone changed from unknown to 0.27

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


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

 
Note: See TracTickets for help on using tickets.