[Interest] [Development] Linux: Qt support with ZeroMQ..

Rahul Mathur srivmuk at gmail.com
Mon Jan 27 10:31:23 CET 2014


I have qt toolchain as -

$ /usr/lib64/qt4/bin/qmake -v
QMake version 2.01a
Using Qt version 4.6.2 in /usr/lib64

With 'makefile' command, it does generate the Makefile
$/usr/lib64/qt4/bin/qmake-qt4 -makefile

But while doing 'make', it gives below error message -


# make
g++ -c -m64 -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -W
-D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB
-I/usr/lib64/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore
-I/usr/include -I. -o main.o main.cc
g++ -c -m64 -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -W
-D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB
-I/usr/lib64/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore
-I/usr/include -I. -o ZmqContext.o ZmqContext.cc
g++ -c -m64 -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -W
-D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB
-I/usr/lib64/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore
-I/usr/include -I. -o ZmqSocket.o ZmqSocket.cc
In file included from ZmqSocket.cc:5:
/usr/local/include/zmq.h: In member function âbool
ZmqSocket::send(ZmqMessage&, int)â:
/usr/local/include/zmq.h:354: error: too few arguments to function âint
zmq_send(void*, const void*, size_t, int)â
ZmqSocket.h:42: error: at this point in file
/usr/local/include/zmq.h: In member function âbool
ZmqSocket::recv(ZmqMessage*, int)â:
/usr/local/include/zmq.h:356: error: too few arguments to function âint
zmq_recv(void*, void*, size_t, int)â
ZmqSocket.h:54: error: at this point in file
make: *** [ZmqSocket.o] Error 1

Any clue.





On Mon, Jan 27, 2014 at 1:04 PM, Sze Howe Koh <szehowe.koh at gmail.com> wrote:

> On 27 January 2014 15:11, Rahul Mathur <srivmuk at gmail.com> wrote:
> > I am newbie and looking for Qt support with ZeroMQ on Linux for desktop
> > application.
> >
> > Can I have some links to perform below -
> >
> > 1. Qt bindings support to ZeroMQ
> > 2. Installation
> > 3. Executing ZeroMQ PUB-SUB with Qt enabled user inputs on it's GUI.
> >
> > I do have zermqt-master.zip file but it has missing README or
> INSTALLATION
> > steps to execute Qt enabled zeromq.
> >
> > Thanks
>
> Hi,
>
> You'll probably have better luck asking the author of the plugin
> (https://github.com/wttw/zeromqt); this is not related to Qt itself.
> Note that Zeromqt is stated to be a pre-alpha product.
>
> You might also be interested in https://github.com/jonnydee/nzmqt
>
>
> Regards,
> Sze-Howe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140127/b189e839/attachment.html>


More information about the Interest mailing list