homerun4711
11th January 2011, 09:06
Hello!
I get a strange error message while compiling my project, it was working fine until I re-created the *.project file and the user-file from OtDesigner.
The error message is
error: no match for ‘operator!’ in ‘!record’
candidates are: operator!(bool) <built-in>
and points to the Q_ASSERT in the following code
QSqlRecord record = customerSelect->passRecord();
Q_ASSERT(record);
If I comment the Q_ASSERT line everything works fine. Has someone an idea what is causing this error?
Kind regards,
HomeR
I get a strange error message while compiling my project, it was working fine until I re-created the *.project file and the user-file from OtDesigner.
The error message is
error: no match for ‘operator!’ in ‘!record’
candidates are: operator!(bool) <built-in>
and points to the Q_ASSERT in the following code
QSqlRecord record = customerSelect->passRecord();
Q_ASSERT(record);
If I comment the Q_ASSERT line everything works fine. Has someone an idea what is causing this error?
Kind regards,
HomeR