hello there ,
was wondering what is the best way to execute a QsqlQuery on a different thread so that the GUI doesn't freeze
should i make a class that inhirits Qthread and connect to the data base in the run method and do the query ?
can emit a signal from the GUI class containing the input of the query ( example number ) and catch that signal when emitted in the thread then
do the query ?
or should i try another way ? maybe conecting the method that is repsonsible for the query to a thread by the thread started signal ?