I'm working on an app for a MySQL db. One of the tables features 3 columns that I'd like to sum up per row and then a subtotal for all rows for those 3 columns.
I managed to get the column subtotals, but for the row total (for the 3 fields of that particular row), I would need a calculated field.

After googling, the only reference I could find is this thread:
http://lists.trolltech.com/qt-intere...ad00142-0.html

would that be the best way to approach this or is it possible to change the underlying SQL for the QSqlRelationalTableModel?

cheers,
-A