Qt MQTT not available
-
wrote on 20 Apr 2018, 13:30 last edited by lodeSmets
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 -
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.
-
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.
-
AFAIK, yes. But I don't know when.
-
wrote on 22 Jun 2018, 13:56 last edited by
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. -
wrote on 29 Apr 2020, 13:15 last edited by
Hello, i am a newbie in QT, could you explain me how to add this module to my QT creator on Windows?
-
Hi and welcome to devnet,
Please re-read both my posts and the one from @mkalinow.
-