Installing MQTT module
-
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.
-
@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 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 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