Hi, personally I think that a 'qt' wrapper like Nzmqt does not add extraordinary value to a project. you can either interface the qt event loop, or simply add a timer, to access you plain zmq(hpp) sockets. you can than selfe decide how much time you spend on waiting for a message and what to do. this gives you less magic, but more control.
/Harald Am Mi., 9. Mai 2018 um 17:45 Uhr schrieb Chandra <chan...@fastmail.net>: > 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, > Chandra > > > > > > > > > > > _______________________________________________ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > https://lists.zeromq.org/mailman/listinfo/zeromq-dev >
_______________________________________________ zeromq-dev mailing list zeromq-dev@lists.zeromq.org https://lists.zeromq.org/mailman/listinfo/zeromq-dev