Do not call Qt from non-Qt threads, this will segfault (give_error)