[mythtv] MythWeather
Chris Pinkham
cpinkham at bc2va.org
Thu Jan 16 21:50:58 EST 2003
> The CVS version of MythWeather has been updated quite a bit. This addresses
> several issues including:
I just synced with CVS and found a few items that may be QT 3.0 vs 3.1
related or possibly with my config (the reason why this email doesn't
contain a patch just yet). I had to do the following 2 things to get
weather.cpp to compile:
1) add #include statement for qimage.h at the top
Error during compilation for this was:
weather.cpp: In method `void Weather::update_timeout ()':
weather.cpp:567: invalid use of undefined type `class QImage'
2) replace the following line (around 1696) concerning QString::remove
if (txtType.remove(" ") == (wData[j].typeName).remove(" "))
replace that line with this line (easiest thing I could come up with
since I'm not a QT programmer)
if (txtType.replace( QRegExp(" "), "" ) == (wData[j].typeName).replace( QRegExp(" "), "" ))
This change also required adding "#include <qregexp.h>" at the top
of weather.cpp.
Once I did these 2 things I could compile mythweather on my RH 7.3
MythTV system. Has anyone else with QT 3.0 had problems with
QImage and QString::remove?
Chris
*****************************************************************************
** Chris Pinkham Linux v2.2.18, Sane v1.0.4, Cajun v3.0-8 **
** cpinkham at bc2va.org http://www.bc2va.org/chris/ **
*****************************************************************************
More information about the mythtv-dev
mailing list