Quote Originally Posted by bandarus View Post
To make Qt successfully call the library, I add "-lpthread" in Qt's .pro file.
Not sure why this would be necessary, Qt already links with libpthread.

Quote Originally Posted by bandarus View Post
Could some one help me how to signal the GUI update from Pthread function.?
Via a signal connected to a slot of an object on the GUI thread or by calling a slot of such an object via QMetaObject::invokeMethod() with connection type Qt::QueuedConnection or by posting a custom event to an object on the GUI thread.

Cheers,
_