setting attribute Qt.AA_X11InitThreads, to make it safe to use multiple threads with Qt