Hi,
I have some trouble with my QwtLegend. Every time I try to add a new QwtPlotCurve the program terminates with the folling error:
Posting Code is not that simple, because it's a quite big project. In general I created a subclass of QwtPlot and in this class i callQObject::setParent: Cannot set parent, new parent is in a different thread
monitor: ../../src/xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int) ((xcb_req) - (dpy->request)) >= 0)' failed.
Aborted
where "Object" is a custom object.Qt Code:
addCurve( Object* o) { o->getCurve()->attach(this); }To copy to clipboard, switch view to plain text mode
I hope someone can help me.
Thanks in advance.
Jones
Bookmarks