Skip to content
Snippets Groups Projects

Initialize X with thread-safety when using TaurusApplication.

Merged 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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading