[Interest] Running Qt in a shared library on a Mac

Thiago Macieira thiago.macieira at intel.com
Fri Jan 24 18:21:49 CET 2014


On sexta-feira, 24 de janeiro de 2014 18:19:20, Till Oliver Knoll wrote:
> > I /assume/ that it works, just like it works with Qt.
> 
> Well, then it must work with "Cocoa only", too - case solved

So you *can* run Qt and Cocoa things in a different thread than main() was run 
on.

However, NSApplication is not thread-safe, so QApplication and NSApplication 
must be in the same thread, whichever it is.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140124/221ec74e/attachment.sig>


More information about the Interest mailing list