command to check if mqtt is installed

ls $(qmake -query QT_INSTALL_LIBS) | grep Mqtt

mkdir -p ${HOME}/qt
cd ${HOME}/qt

git clone https://code.qt.io/qt/qtmqtt.git

cd qtmqtt

mkdir build && cd build

QT_INSTALL_DIR=/opt/Qt5.1.0/5.1.0
QT_QMAKE_DIR=$QT_INSTALL_DIR/gcc_64/bin/

$QT_QMAKE_DIR/qmake -r ..
make
sudo make install


QT_QMAKE_AND_DIR=$QT_INSTALL_DIR/android_armv7/bin/
$QT_QMAKE_AND_DIR/qmake -r ..
make 
sudo make install