[zeromq-dev] conflict between 0MQ and Qt4 C++ libraries?

Martin Sustrik sustrik at fastmq.com
Tue Apr 21 08:38:32 CEST 2009


Nice. I'll add the issue to 0MQ FAQ.

Martin

Aamir M wrote:
> If anyone is interested, I found an alternative solution:
> 
> http://doc.trolltech.com/4.5/signalsandslots.html#3rd-party-signals-and-slots
> 
> You have to turn off Qt's "signals" and "slots" keywords by 
> setting CONFIG += no_keywords in qmake.
> 
> 
> 
> On Mon, Apr 20, 2009 at 11:17 AM, Steven McCoy <steven.mccoy at miru.hk 
> <mailto:steven.mccoy at miru.hk>> wrote:
> 
>     So that presumably would be:
> 
>     #include <QtGui/QApplication>
>     #ifndef Q_MOC_RUN
>     #       include <zmq.hpp>
>     #endif
>     int main(int argc, char *argv[])
>     {
>        QApplication a(argc, argv);
>        return a.exec();
>     }
> 
>     --
>     Steve-o
> 
> 




More information about the zeromq-dev mailing list