[zeromq-dev] Zmq Qt bindings

Chandra chandra at fastmail.net
Wed May 9 17:45:15 CEST 2018

Dear ZMQ community,

Greetings. Looking for possibility  the following scenario: 
Is it possible  ZMQ with C/ C++ / Nzmqt binding code and   Qt creator
GUI C++  code with (believe have to include nzmqt .h file) compile in
command line using GCC?

Now, i have tried  On Qt creator (Qt creator 4.0.3  Qt 4) side* NOT
using Makefile*  but given library links  on command line like this and
it 's  working.
>>*g++ -m64 -Wl, -o Gui main.o mainwindow.o  -L/usr/lib/x86_64-linux-gnu
>>-lQtgui -lQtCore**       *
*    Main.cpp and Mainwindow.cpp has Qt C++ API *

_now want to try with zmq (c/c++, zyre and Qt bindings)_

*objective*:  Qt GUI should call ZMQ code (c/c++ /zyre)  in the
background and give output to console. Nzmqt  uses cppzmq NOT the high level zmqpp

1.  In *Mainwindow. cpp*  will #include  add nzmqt  header file and may
    add simple zmq api - zclock_sleep()2.  Include header/library in  Qt creator's *.pro file*
and compile like this 
>>*g++ -m64 -Wl, -o Gui main.o *mainwindow.o*  -L/usr/lib/x86_64-linux-
>>gnu -lQtgui -lQtCore -lzmq -lczmq  -lzmqpp -lzyre *

Am i missing anything? Any suggestion will greatly helpful. Many thanks.

With cheers & regards,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20180509/c0e6c220/attachment.htm>

More information about the zeromq-dev mailing list