[Qt-interest] Slots and Signals with a dynamic library
Jean Noel
karlastong at gmail.com
Tue Aug 23 20:29:17 CEST 2011
Hello,
I have a Qt application which dynamically launch a library, which is called
a controller. The controller don't use Qt at all. The application and the
controller are both compiled with cmake.
I'd like to add a class which use slots and signal and use this class in my
controller. Unfortunately, I can't use slots and signals and I don't
understand why.
The connect() method returns true but the signals are never emitted.
I tried to instantiate a new QApplication in my class but it doesn't work.
The application doesn't launch.
Is there any special instruction to do to use the power of slots and signals
while using shared library ?
Thank you by advance,
Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110823/20965684/attachment.html
More information about the Qt-interest-old
mailing list