How can I use Mqtt in Qt project?
-
wrote on 26 Sept 2017, 20:12 last edited by
Hello QDevnet,
I want to develop mqtt based project. So, I downloaded the github project: https://github.com/emqtt/qmqtt
I right-clicked to the "examples-section" and clicked "run qmake".
But Qt Creator gave me an error: [sub-client-qmake_all] Error 3Actually, I'm not sure how I can start. Make a lib or use directly source code? Can you suggest a way for me?
Thanks,
-
Hi,
From a quick look: start by building and installing the module itself.
-
wrote on 18 Nov 2017, 21:25 last edited by
Hi @SGaist
I have the same problem. Can you explain to my how to install de "module".
I am looking for a long time for an MQTT class for QT but until now nothing worked out. I would really appreciate it if you could help me.
Thank you -
Hi and welcome to devnet,
Qt has not a module for that that you can clone from here. You can build it as any other Qt module:
qmake && make && make install
.