Opened 11 years ago

Closed 11 years ago

#6310 closed enhancement (invalid)

Patch to compile and run with Qt4

Reported by: crap@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: MythTV - General Version: head
Severity: low Keywords: SVN QT4 headers
Cc: Ticket locked: no

Description

I have included 2 patches, for mythtv and mythplugins to compile and run mythtv with Qt4. I have also updated all include files to Qt4 include file names.

Attachments (2)

mythtv-svn-qt4.diff (180.5 KB) - added by crap@… 11 years ago.
Mythtv patch to compile with Qt4
mythplugins-svn-qt4.diff (77.5 KB) - added by crap@… 11 years ago.
Mythtv plugins patch to compile with Qt4

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by crap@…

Attachment: mythtv-svn-qt4.diff added

Mythtv patch to compile with Qt4

Changed 11 years ago by crap@…

Attachment: mythplugins-svn-qt4.diff added

Mythtv plugins patch to compile with Qt4

comment:1 Changed 11 years ago by stuartm

Status: newinfoneeded_new

Trunk has been building and running with QT4 for 10 months. Some of the changes in the patch are wrong (addition of qt3support for libs which are qt3 free). Others seem unnecessary and I don't mean the renaming of the includes which is fine, but cosmetic.

Could you just explain in more detail what the patch achieves? What doesn't build without the patch? Which changes are not merely cosmetic?

comment:2 Changed 11 years ago by crap@…

I never realized that mythtv already compiles with Qt4. I never even tried. I was put off by the lines:

contains(QT_MAJOR_VERSION, 3) {

error("Not building against Qt4")

}

in settings.pro. I just started converting to Qt4 using qt3to4 and the instructions on the Trolltech website.

I had some problems compiling with my version of libfaad and DirectFB. I can submit the (simple) patches if you want.

If you are interested I can send a patch file containing only the cosmetic Qt4 include file updates.

comment:3 Changed 11 years ago by danielk

Resolution: invalid
Status: infoneeded_newclosed
Note: See TracTickets for help on using tickets.