QT5 -- 1 of 3

Porting the codebase to QT 5 (5.2) to get the
latest bug fixes, performance and improved platform
support.

This first part is to fixup the codebase to compile
on Qt 5, but some aspects have been broken (video).

The second part is to migrate from Qwt 6.0.1 to the
latest Qwt for multiaxis support.

The third part will be to fixup any platform specific
issues or issues identified at runtime.
This commit is contained in:
Mark Liversedge
2013-12-09 09:57:13 +00:00
parent 2d9e71b500
commit aa8605e8d5
186 changed files with 552 additions and 313 deletions

View File

@@ -102,7 +102,7 @@ FitlogParser::startElement( const QString&, const QString&,
point.watts,point.alt,point.lon,point.lat, point.headwind,
0.0, RideFile::noTemp, 0.0, point.interval);
}
return TRUE;
return true;
}
bool
@@ -207,12 +207,12 @@ FitlogParser::endElement( const QString&, const QString&, const QString& qName)
rideFile->setTag("Notes", buffer);
}
return TRUE;
return true;
}
bool FitlogParser::characters( const QString& str )
{
buffer += str;
return TRUE;
return true;
}
static const double EARTH_RADIUS = 6378.140; // in km