I am not very sure of Qwt, but I thing I suspect is that, "graphs *hereitis" is the QThread's constructor parameter which is stored in "yeah" member variable, an then it is used later in the context of the QThread.
Now internally yeah->updateCurve(..) might be emitting some signals which need to propagated to the GUI thread, only then the graph will be updated. You may not be able to make signals work until the "graphs" object (yeah) is created in the context of the working Thread, or at least the working thread has the ownership.
Bookmarks