MQTT client for QT
-
Hi guys!
I'm currently working with this MQTT client for qt (https://github.com/emqtt/qmqtt) but I have some problems. First I had an error due to the old version of qt and adding #include "QString" in qmqtt_routedmessage.h it's solved. Now I can build it and run it for Desktop but when I try to run it in my android device just doesn't work.
This is the first error I receive:E/dalvikvm( 4873): dlopen("/data/app-lib/org.qtproject.example.qmqtt_example-1/libqmqtt_example.so") failed: Cannot load library: soinfo_link_image(linker.cpp:1635): could not load library "libqmqtt.so" needed by "libqmqtt_example.so"; caused by load_library(linker.cpp:745): library "libqmqtt.so" not found
The funny thing is that I can build the project for my android target but the problem comes when I try to run it.What am I doing wrong? Has anyone create a "Hello world" with MQTT for android? Btw I use API 17.
Many thanks,
Fernando -
Android server ?
-
Do you mean a background service ?
-
IIRC, background services with Qt are part of 5.7