Submit comment Remove comment

Ch

Chris reply

https://stackoverflow.com/questions/28332199/how-does-qtconcurrentrun-wind-up-on-main-thread Sadly, this "feature" may cause problems with the approach you've outlined! It seems to for me... I'm going to have to rethink things.

06 Apr 2022 18:45 UTC

An

Anonymous reply

Hi, Nice ideas ! There's just one thing about it, please do not store you QSqlDatabase object in a member variable. There's a specific warning against that in the class documentation. It prevents proper cleanup on shutdown.

26 May 2021 07:18 UTC

Li

Linus reply

Thanks for the feedback. You're right, that's a problem. I'll fix it. :)

26 May 2021 11:39 UTC

comments privacy policy