Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. how to add library(qmqtt.h) in qmqtt client for windows

how to add library(qmqtt.h) in qmqtt client for windows

Scheduled Pinned Locked Moved Solved General and Desktop
59 Posts 7 Posters 29.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jsulmJ jsulm

    @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.

    S Offline
    S Offline
    shravani
    wrote on last edited by shravani
    #44

    @jsulm
    i copied qmqtt.dll but still got that error (DLL not found).do i need to add anything else?

    jsulmJ 1 Reply Last reply
    0
    • S shravani

      @jsulm
      i copied qmqtt.dll but still got that error (DLL not found).do i need to add anything else?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #45

      @shravani After adding qmqtt.dll which DLL is missing?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      S 1 Reply Last reply
      0
      • jsulmJ jsulm

        @shravani After adding qmqtt.dll which DLL is missing?

        S Offline
        S Offline
        shravani
        wrote on last edited by
        #46

        @jsulm
        it was just showing the above error.i cannot find which dll is missing

        jsulmJ 1 Reply Last reply
        0
        • S shravani

          @jsulm
          it was just showing the above error.i cannot find which dll is missing

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #47

          @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 ?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          S 1 Reply Last reply
          0
          • jsulmJ jsulm

            @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 ?

            S Offline
            S Offline
            shravani
            wrote on last edited by
            #48

            @jsulm
            only 2 dll files(qmqtt.dll,qmqttd.dll) created and i copied both.

            jsulmJ 1 Reply Last reply
            0
            • S shravani

              @jsulm
              only 2 dll files(qmqtt.dll,qmqttd.dll) created and i copied both.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #49

              @shravani Then you should deploy your app using Qt Windows Deployment Tool and see which DLL will end up in your deployment directory.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              S 2 Replies Last reply
              0
              • jsulmJ jsulm

                @shravani Then you should deploy your app using Qt Windows Deployment Tool and see which DLL will end up in your deployment directory.

                S Offline
                S Offline
                shravani
                wrote on last edited by
                #50

                @jsulm
                i changed build to release and its working now.

                1 Reply Last reply
                0
                • jsulmJ jsulm

                  @shravani Then you should deploy your app using Qt Windows Deployment Tool and see which DLL will end up in your deployment directory.

                  S Offline
                  S Offline
                  shravani
                  wrote on last edited by shravani
                  #51

                  @jsulm
                  i am able to connect to emq broker.
                  but it is not connecting to other brokers like shiftr.io,IBM cloud through internet ?

                  jsulmJ 1 Reply Last reply
                  0
                  • S shravani

                    @jsulm
                    i am able to connect to emq broker.
                    but it is not connecting to other brokers like shiftr.io,IBM cloud through internet ?

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #52

                    @shravani Should be possible if you have Internet connection and access rights.

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    S 1 Reply Last reply
                    1
                    • jsulmJ jsulm

                      @shravani Should be possible if you have Internet connection and access rights.

                      S Offline
                      S Offline
                      shravani
                      wrote on last edited by
                      #53

                      @jsulm
                      internet connection is there. access rights?
                      do i need to change anything in qt program?

                      jsulmJ 1 Reply Last reply
                      0
                      • S shravani

                        @jsulm
                        internet connection is there. access rights?
                        do i need to change anything in qt program?

                        jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on last edited by
                        #54

                        @shravani I never used it but I guess you need access rights to connect? You should ask the people providing those brokers.

                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                        S 1 Reply Last reply
                        1
                        • jsulmJ jsulm

                          @shravani I never used it but I guess you need access rights to connect? You should ask the people providing those brokers.

                          S Offline
                          S Offline
                          shravani
                          wrote on last edited by
                          #55

                          @jsulm
                          do you know any broker that can be connected to qt application through internet?

                          jsulmJ 1 Reply Last reply
                          0
                          • S shravani

                            @jsulm
                            do you know any broker that can be connected to qt application through internet?

                            jsulmJ Offline
                            jsulmJ Offline
                            jsulm
                            Lifetime Qt Champion
                            wrote on last edited by
                            #56

                            @shravani I guess any mqtt broker?

                            https://forum.qt.io/topic/113070/qt-code-of-conduct

                            S 1 Reply Last reply
                            1
                            • jsulmJ jsulm

                              @shravani I guess any mqtt broker?

                              S Offline
                              S Offline
                              shravani
                              wrote on last edited by shravani
                              #57

                              @jsulm
                              everything is working now.i converted server url to ip address and tried.so i got

                              1 Reply Last reply
                              0
                              • F Offline
                                F Offline
                                FiveSmart
                                wrote on last edited by
                                #58

                                Hi @shravani
                                can you make tutorial step by step how to add library (qmqtt.h). can you help me
                                thank you

                                jsulmJ 1 Reply Last reply
                                0
                                • F FiveSmart

                                  Hi @shravani
                                  can you make tutorial step by step how to add library (qmqtt.h). can you help me
                                  thank you

                                  jsulmJ Offline
                                  jsulmJ Offline
                                  jsulm
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #59

                                  @FiveSmart http://doc.qt.io/qtcreator/creator-project-qmake-libraries.html

                                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                                  1 Reply Last reply
                                  0

                                  • Login

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • Users
                                  • Groups
                                  • Search
                                  • Get Qt Extensions
                                  • Unsolved