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

Aamir M intuitionist at gmail.com
Mon Apr 20 21:47:08 CEST 2009


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> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20090420/41324970/attachment.htm>


More information about the zeromq-dev mailing list