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

Qt Code:
  1. QSqlRecord record = customerSelect->passRecord();
  2. Q_ASSERT(record);
To copy to clipboard, switch view to plain text mode 

If I comment the Q_ASSERT line everything works fine. Has someone an idea what is causing this error?

Kind regards,
HomeR