[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
        ...
    #endif
is skipped by the moc."

http://doc.trolltech.com/4.0/moc.html#moc

-- 
Steve-o



More information about the zeromq-dev mailing list