Installing MQTT module
-
wrote on 18 Jan 2023, 16:35 last edited by JoeCFD
where is your mqtt lib installed? If you add it in pro like QT += mqtt, mqtt lib should be in the libs dir of qt you use. Check out if it is the case. If not, purge mqtt you installed and reinstall it at the right place.
-
where is your mqtt lib installed? If you add it in pro like QT += mqtt, mqtt lib should be in the libs dir of qt you use. Check out if it is the case. If not, purge mqtt you installed and reinstall it at the right place.
wrote on 18 Jan 2023, 17:27 last edited by@JoeCFD to find out if it is in the libs dir of qt is that the command qmake -query QT_INSTALL_LIB. If it is then when I ran it i either got unknown or a directory name but inside that directory there wasnt any mqtt library files
-
@JoeCFD to find out if it is in the libs dir of qt is that the command qmake -query QT_INSTALL_LIB. If it is then when I ran it i either got unknown or a directory name but inside that directory there wasnt any mqtt library files
-
wrote on 18 Jan 2023, 18:32 last edited by
@JoeCFD what do you mean how did i install qt, do u mean how i installed qt creator? I did that by going to the website and downloading the open source linux file, then did the setup in the program, and it downloaded everything.
Not sure which qmake version i am not with my computer but can check tomorrow. -
@JoeCFD what do you mean how did i install qt, do u mean how i installed qt creator? I did that by going to the website and downloading the open source linux file, then did the setup in the program, and it downloaded everything.
Not sure which qmake version i am not with my computer but can check tomorrow. -
@Dean21 that means you may not have qt 6.4.2 yet.
Install Qt 6.4.2. QtMqtt Is only one component of Qt package.
which qmake and qmake --version are two Linux commands to run. -
@JoeCFD Hi joe I can confirm that I do have version 6.4.2 of Qt, as I can see the folder name 6.4.2 inside the Qt directory
-
@JoeCFD Hi joe I can confirm that I do have version 6.4.2 of Qt, as I can see the folder name 6.4.2 inside the Qt directory
-
wrote on 19 Jan 2023, 17:39 last edited by
@JoeCFD by qt mqtt lib what do you mean, like the qtmqtt folder that I git cloned, if so then I have tried having it where I downloaded qt, where it gets put nominally when using git clone, and also inside the Src folder in side the 6.4.2 folder
-
@JoeCFD by qt mqtt lib what do you mean, like the qtmqtt folder that I git cloned, if so then I have tried having it where I downloaded qt, where it gets put nominally when using git clone, and also inside the Src folder in side the 6.4.2 folder
11/11