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. Qt MQTT not available
Qt 6.11 is out! See what's new in the release blog

Qt MQTT not available

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 4 Posters 3.9k Views 1 Watching
  • 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.
  • L Offline
    L Offline
    lodeSmets
    wrote on last edited by lodeSmets
    #1

    Hello,

    I was a question about a new addition to Qt: Qt MQTT.
    I found here that it is available for Qt version 5.10.
    I tried making one of the examples, but when I try to include the library: QT += mqtt, it says Project ERROR: Unknown module(s) in QT: mqtt.
    I checked my installation: I have Qt5.10.0 with mingw 5.3.0 (on windows)

    In the examples page, the mqtt examples aren't available.

    Any idea how to add Qt MQTT?

    With kind regards,
    Lode

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      That's indeed surprising. Worst case scenario:

      • Clone the module from http://code.qt.io
      • Open the main .pro file in QtCreator
      • Build the module with the Qt version you want to use it with
      • Then go on the console and type ming32-make install. in the folder where you built the module.

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

      L 1 Reply Last reply
      6
      • SGaistS SGaist

        Hi and welcome to devnet,

        That's indeed surprising. Worst case scenario:

        • Clone the module from http://code.qt.io
        • Open the main .pro file in QtCreator
        • Build the module with the Qt version you want to use it with
        • Then go on the console and type ming32-make install. in the folder where you built the module.
        L Offline
        L Offline
        lodeSmets
        wrote on last edited by
        #3

        @SGaist Thanks, this worked, but will qt mqtt ever be available in the release version? (instead of building it myself)?

        1 Reply Last reply
        1
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          AFAIK, yes. But I don't know when.

          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
          • M Offline
            M Offline
            mkalinow
            wrote on last edited by
            #5

            Qt Mqtt is part of Qt for Automation, released as an AddOn to Qt.
            If you own a license for this addon, then this will also be visible to you in the installer.
            Otherwise, you will need to clone and build the repository, like @SGaist mentioned.

            1 Reply Last reply
            3
            • K Offline
              K Offline
              Krzeslo
              wrote on last edited by
              #6

              Hello, i am a newbie in QT, could you explain me how to add this module to my QT creator on Windows?

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Hi and welcome to devnet,

                Please re-read both my posts and the one from @mkalinow.

                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
                • Pl45m4P Pl45m4 referenced this topic on

                • Login

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