Use QtConcurrentRun to do db query in background thread