Skip to content

Initialize X with thread-safety when using TaurusApplication.

Carlos Pascual requested to merge github/fork/cpascual/xcb_segfault into develop

Sometimes (e.g. running taurusgui example01) one gets the following: [xcb] Unknown request in queue while dequeuing [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that.

Fix according to http://stackoverflow.com/a/31967769 , by setting: Qt.QCoreApplication.setAttribute(Qt.Qt.AA_X11InitThreads)

Merge request reports