I have database object in my mainthread (GUI).

I must do a lot of insert statement so I want to do this in other thread.
Can I create QSqlQuery in other(not main) thread and execute a lot of inserts?
QSqlQuery use database object which is created in main thread.
In QT doc is write that qt database object should not be used in other thread, so how can I start transaction in other thread?


I cant create second connection object in second thread because I use firebird embedded database.


sory for my poor english