New qt version forces you to create new connection to database for every thread.
I was using
|QSqlDatabase||cloneDatabase(const QSqlDatabase &other, const QString &connectionName)|
to create new connections from other trheads, and now i can't. This function should be thread safe and allow access to database object because it just copies all the connection parameters. Otherwise this function has no purpose...