Qt: Writing plugins for other applications

Posted by Rasmus Faber on Stack Overflow See other posts from Stack Overflow or by Rasmus Faber
Published on 2009-10-12T10:14:10Z Indexed on 2010/04/05 19:03 UTC
Read the original article Hit count: 378

Filed under:
|
|

I am writing a plugin for another application. I want to support the plugin on multiple platforms, so I am strongly considering using Qt.

The plugin needs to be able to show some basic GUI. The plugin interface does not in any way handle GUI - it is just a simple DLL/shared library specified with a C-header file.

Can I use Qt inside such a shared library? The calling application might or might not be using Qt itself. Any hints on what to do? Do I need to run a QApplication event-loop in a separate thread? Or can I just call the event-loop myself while waiting for input? (I only need modal dialogs).

© Stack Overflow or respective owner

Related posts about qt

Related posts about plugins