Mixing Qt threads with COM threads <p>I'm working on a little project that uses DirectShow/COM for capture, and DShow makes callbacks using its own threads when my application gets imaging data.</p> <p>I'm also using Qt in my project, and I'm wanting to use Qt for synchronisation and thread-safety. I'm wondering how I can use Qt Threads in this case.</p> <p>I understand I can also use Win32's CriticalSection functions, but this would make it harder to port my code to other platforms (as the DShow stuff is the only Windows-specific code in my project).</p> <p>My question is: "how do I use Qt's thread safety features when working with non-Qt threads?"</p>