build fixes for linux with Qt4.  QSqlQuery::value(string) doesn't exist
in Qt4.  Switched to QSqlRecord::value(), which seems to be
working.