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. QtMqtt module installation and linking problem
Qt 6.11 is out! See what's new in the release blog

QtMqtt module installation and linking problem

Scheduled Pinned Locked Moved Solved General and Desktop
10 Posts 3 Posters 5.5k 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.
  • R Offline
    R Offline
    RahibeMeryem
    wrote on last edited by
    #1

    Hi,

    I try to install and compile qmqtt from its git repo. It was worked. But somehow now its giving below error.

    It is compiling but when I run :

    dyld: Library not loaded: @rpath/QtMqtt.framework/Versions/5/QtMqtt
      Referenced from: /Users/opop/Projects/build-qtmqtt-GCC_Release-Release/examples/mqtt/subscriptions/mqttsubscriptions.app/Contents/MacOS/mqttsubscriptions
      Reason: image not found
    The program has unexpectedly finished.
    

    What am I missing ? I am working at Mac os X sierra.

    Sometime Qtcreator look very complex after java world :=

    thanks

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

      Hi,

      Where did you clone the repository from ? There are several non-official mqtt modules that exists.

      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
      • R Offline
        R Offline
        RahibeMeryem
        wrote on last edited by
        #3

        I cloned :
        https://github.com/qt/qtmqtt

        it gives same error. I am at Mac Os X sierra.

        In ubuntu(vmware) its working

        Do need to compile and install something ?

        1 Reply Last reply
        0
        • R Offline
          R Offline
          RahibeMeryem
          wrote on last edited by
          #4

          I solved with add library path to pro file as :

          LIBS +=-L/usr/local/Cellar/qt/5.10.0_1/lib

          One more question:

          Is the qtmqtt is a good way to send binary data ie: 80K images which captured by camera (object detection)?

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

            To what do you want to send these binary data ?

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

            R 1 Reply Last reply
            0
            • mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Hi
              mqtt was designed for IOT devices to easy broadcast ( publish ) data to other nodes.
              http://mqtt.org/
              So it would not be my first choice for large heavy binary data but we send 100 MB xml across a lan connection and it was ok fast but not realtime at all.
              Also, the focus is on many to many connections via the broker so if you do not need say one node send an image, many nodes must see it. Then the mqtt protocol might not have much to offer you besides easy setup and operation.

              1 Reply Last reply
              1
              • SGaistS SGaist

                To what do you want to send these binary data ?

                R Offline
                R Offline
                RahibeMeryem
                wrote on last edited by
                #7

                @SGaist We are capturing objects and want to send them to remote noSQL (ie mongo) db with meta data info.

                According to our past experience we faced problems with mongo to write data from distance (connection lost , network error etc) so we used rabbitMQ, amqp . and mqtt. they are very reliable to send data.

                So we want to send pure png data to remote mqtt: such as:

                data: time, text, id , png(binary)

                Thx

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

                  I just built the module using the official pre-built package and tested an example of the module and it works fine.

                  What branche did you build ?

                  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
                  • R Offline
                    R Offline
                    RahibeMeryem
                    wrote on last edited by
                    #9

                    I started over and compiled / installed now working just fine

                    Can we use qmqt from another thread ?

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

                      I haven't tested that but I don't currently see anything that would forbid 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

                      • Login

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