My application reads mysql database and draws table based on mysql queries. I want to use progressbar but i can't because QSqlDatabase processes freeze my main window.
I read somewhere, i should separate threads of gui and mysql processes and use interprocess communication, but can't find any examples. What is the best way to transmit mysql query between threads?