[mythtv] [PATCH] CVS Compile Error (jsmenu.cpp with QT3.1)

Christian Hack christianh at edmi.com.au
Tue Oct 19 11:41:16 UTC 2004


> -----Original Message-----
> From: mythtv-dev-bounces at mythtv.org 
> [mailto:mythtv-dev-bounces at mythtv.org] On Behalf Of Christian Hack
> Sent: Saturday, 16 October 2004 8:11 PM
> To: mythtv-dev at mythtv.org
> Subject: [mythtv] CVS Compile Error (jsmenu.cpp with QT3.1)
> 
> 
> I have a Redhat 8 machine with QT3.1.2 installed. According 
> to the docs RH8
> doesn't have QT3.1 but mine seems to. Perhaps I upgraded it (I don't
> remember).
> 
> Anyway, the very recently added libs/libmyth/jsmenu.cpp contains QT3.2
> calls. At lines 173,175,177,179
> 
> startsWith is case sensitive only in QT3.1. In 3.2 there is 
> an extra bool
> parameter to select case sensitivity.
> 
> Is QT3.1 no longer supported? This appears to be the only 
> QT3.2 dependency
> otherwise.
> 

Attached patch makes it case sensitive and should work for both QT 3.1 and
3.2 - is that such a big issue?

I'm not sure how to detect QT versions but I haven't really investigated
yet.

CH
-------------- next part --------------
A non-text attachment was scrubbed...
Name: startswith1.diff
Type: application/octet-stream
Size: 1397 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041019/2403b7b8/startswith1.obj


More information about the mythtv-dev mailing list