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

Steven McCoy steven.mccoy at miru.hk
Mon Apr 20 17:15:28 CEST 2009

2009/4/20 Martin Sustrik <sustrik at fastmq.com>:
> Qt developers are obviously trying to be cool on expense of other
> applications :(

I think that's picked up by the moc tool, you could work around it
with the following:

"You can explicitly tell the moc not to parse parts of a header file.
moc defines the preprocessor symbol Q_MOC_RUN. Any code surrounded by

    #ifndef Q_MOC_RUN
is skipped by the moc."



More information about the zeromq-dev mailing list