[Lazarus] Threads and Libraries (dll and so)

Sven Barth pascaldragon at googlemail.com
Tue Feb 4 13:39:19 CET 2014


Am 04.02.2014 11:04, schrieb Michael Schnell:
> Of course it might be that QT (or KDE) impose additional restrictions 
> (though I still suppose that this can be handles somehow).

No, this can not be handled somehow (and it's not KDE, but Qt itself): 
Upon creation of the QApplication class it remembers the thread ID and 
every GUI widget is checked that it is owned by this thread ID as well. 
Certain events like rendering are also checked for the thread ID.

Regards,
Sven




More information about the Lazarus mailing list