Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Unknown module(s) in QT: mqtt
Forum Updated to NodeBB v4.3 + New Features

Unknown module(s) in QT: mqtt

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
13 Posts 5 Posters 5.6k Views 2 Watching
  • 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #4

    Hi,

    Can you describe exactly how you built and installed the module ?

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    Sudhish KapoorS 1 Reply Last reply
    0
    • SGaistS SGaist

      Hi,

      Can you describe exactly how you built and installed the module ?

      Sudhish KapoorS Offline
      Sudhish KapoorS Offline
      Sudhish Kapoor
      wrote on last edited by
      #5

      @SGaist I had checked out the code from emqx and opened into the QtCreator and build it once it was build i used the command line to install.
      I might have not done it correctly can you help me with the proper steps to get the mqtt module running as i want to test it thats good for my usage.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #6

        From the looks of it you mixed the instructions from the official QtMQTT module and that one.

        From their doc:

        QT += qmqtt
        

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1
        • Sudhish KapoorS Offline
          Sudhish KapoorS Offline
          Sudhish Kapoor
          wrote on last edited by
          #7

          @SGaist @jsulm i was able to compile Qt-Mqtt for 5.15 by following this link here where the Qt-Mqtt is cloned using this command

          "git clone -b 5.15.2 http://github.com/qt/qtmqtt.git"
          

          post which i was able to build and install mqtt module for my Qt 5.15. Thanks for your help.

          S 1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #8

            Great ! Then please mark the thread as solved using the "Topic Tools" button or the three dotted menu beside the answer you deem correct so that other forum users may know a solution has been found :-)

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            J 1 Reply Last reply
            0
            • Sudhish KapoorS Sudhish Kapoor

              @SGaist @jsulm i was able to compile Qt-Mqtt for 5.15 by following this link here where the Qt-Mqtt is cloned using this command

              "git clone -b 5.15.2 http://github.com/qt/qtmqtt.git"
              

              post which i was able to build and install mqtt module for my Qt 5.15. Thanks for your help.

              S Offline
              S Offline
              sittikorn
              wrote on last edited by
              #9

              @Sudhish-Kapoor please show me step by step on window desktop again. Thanks

              1 Reply Last reply
              0
              • SGaistS SGaist

                Great ! Then please mark the thread as solved using the "Topic Tools" button or the three dotted menu beside the answer you deem correct so that other forum users may know a solution has been found :-)

                J Offline
                J Offline
                Jagannath
                wrote on last edited by
                #10

                @SGaist I installed QtMqtt in windows 10 and can see QtMqtt.dll inside bin folder. The problem is , QT creator shows unknown module found. I checked in the QT_INSTALL_LIBS Folder too. There is also QTMqtt found. But still not working. Please help

                SGaistS 1 Reply Last reply
                0
                • J Jagannath

                  @SGaist I installed QtMqtt in windows 10 and can see QtMqtt.dll inside bin folder. The problem is , QT creator shows unknown module found. I checked in the QT_INSTALL_LIBS Folder too. There is also QTMqtt found. But still not working. Please help

                  SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by SGaist
                  #11

                  @Jagannath where did you get QtMqtt from ?
                  How exactly did you install it ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    Jagannath
                    wrote on last edited by
                    #12

                    @SGaist Thank you for your reply. I have open-source QT. I am trying to use MQTT in the android application that I am creating. I cloned QtMqtt inside "C:\Qt\5.15.2\Src" folder from

                    git clone -b 5.15.2 https://code.qt.io/cgit/qt/qtmqtt.git/
                    

                    After qmake, mingw32-make, mingw32-make install, I checked

                    qmake -query QT_INSTALL_LIB
                    

                    at location "C:/Qt/5.15.2/mingw81_64/lib".
                    I found files named Qt5Mqtt.a, Qt5Mqtt.prl, Qt5Mqtt.dll.debug
                    I can find QtMqtt folder inside "C:\Qt\5.15.2\mingw81_64\include" folder.
                    But I couldnt find MQTT on "C:\Qt\5.15.2\android\include" folder.

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      Jagannath
                      wrote on last edited by
                      #13

                      I found out while replying to your response that I tried to install with qmake at location "C:/Qt/5.15.2/mingw81_64/bin". Instead I changed path variable of qmake to location "C:/Qt/5.15.2/android/lib". Now it compiled. Thank you for your help @SGaist . :D

                      1 Reply Last reply
                      2

                      • Login

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