Hi, In my quest to implement some OOT GUI widgets, I was hit by a number of crashes because I need to do rendering (which includes some X/xcb calls) from another thread than the main GUI thread.
Now, under QT it's documented how to do it and it's fairly painless _except_ that if you're under linux and using X11, you need to call XInitThreads() before doing any GUI stuff (so before creating the QApplication for instance). My current solution is to add this before creating the QApplication : if os.name == 'posix': x11 = ctypes.cdll.LoadLibrary('libX11.so') if x11: x11.XInitThreads() Does anyone see a better solution ? Does that stand any chance of getting merged ? Cheers, Sylvain _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio