Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How can I use Mqtt in Qt project?

How can I use Mqtt in Qt project?

Scheduled Pinned Locked Moved Unsolved General and Desktop
mqttiot
4 Posts 3 Posters 2.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    ideadesigner
    wrote on 26 Sept 2017, 20:12 last edited by
    #1

    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".
    alt text
    But Qt Creator gave me an error: [sub-client-qmake_all] Error 3

    Actually, I'm not sure how I can start. Make a lib or use directly source code? Can you suggest a way for me?

    Thanks,

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 26 Sept 2017, 20:15 last edited by
      #2

      Hi,

      From a quick look: start by building and installing the module itself.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Alex-Krieg
        wrote on 18 Nov 2017, 21:25 last edited by
        #3

        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

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 18 Nov 2017, 22:15 last edited by
          #4

          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.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved