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

Martin Sustrik sustrik at fastmq.com
Mon Apr 20 17:00:27 CEST 2009



> It might be a namespace collision with Qt's "signals/slots" mechanism. 

Hm. I've found a Qt signals/slots example (note the 'signals' macro):

     class Counter : public QObject
     {
         Q_OBJECT

     public:
         Counter() { m_value = 0; }

         int value() const { return m_value; }

     public slots:
         void setValue(int value);

     signals:
         void valueChanged(int newValue);

     private:
         int m_value;
     };

Qt developers are obviously trying to be cool on expense of other 
applications :(

Martin



More information about the zeromq-dev mailing list