how to add library(qmqtt.h) in qmqtt client for windows
-
@shravani Running outside from QtCreator is different. You actually only need to copy your qmqtt.dll if you want to run from QtCreator. If you want to run outside of QtCreator you need to deploy your app as @SGaist already said. In one of my previous posts in this thread I posted a link to a side where you can read how to deploy your app on Windows.
-
@jsulm
i copied qmqtt.dll but still got that error (DLL not found).do i need to add anything else? -
@shravani When you built qmqtt.dll were any other DLLs created in the same directory? Did you try to find out what is missing using http://www.dependencywalker.com ?
-
@shravani When you built qmqtt.dll were any other DLLs created in the same directory? Did you try to find out what is missing using http://www.dependencywalker.com ?
-
@shravani Then you should deploy your app using Qt Windows Deployment Tool and see which DLL will end up in your deployment directory.
-
@shravani Then you should deploy your app using Qt Windows Deployment Tool and see which DLL will end up in your deployment directory.
-
-
@jsulm
internet connection is there. access rights?
do i need to change anything in qt program? -
@shravani I never used it but I guess you need access rights to connect? You should ask the people providing those brokers.
-
Hi @shravani
can you make tutorial step by step how to add library (qmqtt.h). can you help me
thank you