Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Unknown module(s) in QT: mqtt
Qt 6.11 is out! See what's new in the release blog

Unknown module(s) in QT: mqtt

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 543 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.
  • M Offline
    M Offline
    MrHause
    wrote on last edited by
    #1

    Hi,
    I have just created the qt quick application that uses qmake. When I want to include mqtt I get the following error:
    Project ERROR: Unknown module(s) in QT: mqtt

    The documentation says that I have to only write QT += mqtt in .pro file. But it is not working. I have updated my qt to 6.3.2 version. I am using windows system and I can't find any answer for this issue. Do you have any suggestion what is wrong or what should I do step by step?

    Best Regards,
    Filip

    1 Reply Last reply
    0
    • Paul ColbyP Offline
      Paul ColbyP Offline
      Paul Colby
      wrote on last edited by
      #2

      Hi @MrHause, I've never used the Qt MQTT add-on, but it appears that for that particular add-on (and a few others like it) the The Qt Company only distributes binaries to commercial licensees (the source is still available under GPLv3 though).

      I suspect your options are either:

      1. purchase a license; or
      2. build it from source yourself (assuming your application is compatible with the GPLv3).

      There seems to be plenty of examples on the Web showing how to build qtmqtt from source, such as this answer.

      Cheers.

      1 Reply Last reply
      1
      • M Offline
        M Offline
        MrHause
        wrote on last edited by MrHause
        #3

        Thank you for the answer and explanation. Unfortunatelly building this was not working for me but after a lot of schearching and struggle I was able to get .dll file.

        1 Reply Last reply
        0

        • Login

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