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

Aamir M intuitionist at gmail.com
Mon Apr 20 19:00:15 CEST 2009

That didn't seem to work, though I agree that it's probably related to the
moc tool. I'll try to query for the Qt mailing lists and post back here if I
find a better solution that reordering include statements.


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/da1a5fac/attachment.htm>

More information about the zeromq-dev mailing list