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. Installing MQTT module

Installing MQTT module

Scheduled Pinned Locked Moved Unsolved General and Desktop
mqttc++widgetubuntu
11 Posts 3 Posters 4.0k 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.
  • J Offline
    J Offline
    JoeCFD
    wrote on 18 Jan 2023, 16:35 last edited by JoeCFD
    #2

    where is your mqtt lib installed? If you add it in pro like QT += mqtt, mqtt lib should be in the libs dir of qt you use. Check out if it is the case. If not, purge mqtt you installed and reinstall it at the right place.

    D 1 Reply Last reply 18 Jan 2023, 17:27
    0
    • J JoeCFD
      18 Jan 2023, 16:35

      where is your mqtt lib installed? If you add it in pro like QT += mqtt, mqtt lib should be in the libs dir of qt you use. Check out if it is the case. If not, purge mqtt you installed and reinstall it at the right place.

      D Offline
      D Offline
      Dean21
      wrote on 18 Jan 2023, 17:27 last edited by
      #3

      @JoeCFD to find out if it is in the libs dir of qt is that the command qmake -query QT_INSTALL_LIB. If it is then when I ran it i either got unknown or a directory name but inside that directory there wasnt any mqtt library files

      J 1 Reply Last reply 18 Jan 2023, 17:37
      0
      • D Dean21
        18 Jan 2023, 17:27

        @JoeCFD to find out if it is in the libs dir of qt is that the command qmake -query QT_INSTALL_LIB. If it is then when I ran it i either got unknown or a directory name but inside that directory there wasnt any mqtt library files

        J Offline
        J Offline
        JoeCFD
        wrote on 18 Jan 2023, 17:37 last edited by
        #4

        @Dean21 how did you install Qt?
        show the output here
        which qmake
        and
        qmake --version

        D 1 Reply Last reply 18 Jan 2023, 18:32
        0
        • J JoeCFD
          18 Jan 2023, 17:37

          @Dean21 how did you install Qt?
          show the output here
          which qmake
          and
          qmake --version

          D Offline
          D Offline
          Dean21
          wrote on 18 Jan 2023, 18:32 last edited by
          #5

          @JoeCFD what do you mean how did i install qt, do u mean how i installed qt creator? I did that by going to the website and downloading the open source linux file, then did the setup in the program, and it downloaded everything.
          Not sure which qmake version i am not with my computer but can check tomorrow.

          J 1 Reply Last reply 18 Jan 2023, 18:37
          0
          • D Dean21
            18 Jan 2023, 18:32

            @JoeCFD what do you mean how did i install qt, do u mean how i installed qt creator? I did that by going to the website and downloading the open source linux file, then did the setup in the program, and it downloaded everything.
            Not sure which qmake version i am not with my computer but can check tomorrow.

            J Offline
            J Offline
            JoeCFD
            wrote on 18 Jan 2023, 18:37 last edited by JoeCFD
            #6

            @Dean21 that means you may not have qt 6.4.2 yet.
            Install Qt 6.4.2. QtMqtt Is only one component of Qt package.
            which qmake and qmake --version are two Linux commands to run.

            D 1 Reply Last reply 19 Jan 2023, 08:56
            0
            • J JoeCFD
              18 Jan 2023, 18:37

              @Dean21 that means you may not have qt 6.4.2 yet.
              Install Qt 6.4.2. QtMqtt Is only one component of Qt package.
              which qmake and qmake --version are two Linux commands to run.

              D Offline
              D Offline
              Dean21
              wrote on 19 Jan 2023, 08:56 last edited by
              #7

              @JoeCFD Hi joe I can confirm that I do have version 6.4.2 of Qt, as I can see the folder name 6.4.2 inside the Qt directory

              J 2 Replies Last reply 19 Jan 2023, 14:31
              0
              • D Dean21
                19 Jan 2023, 08:56

                @JoeCFD Hi joe I can confirm that I do have version 6.4.2 of Qt, as I can see the folder name 6.4.2 inside the Qt directory

                J Offline
                J Offline
                JoeCFD
                wrote on 19 Jan 2023, 14:31 last edited by
                #8

                @Dean21

                show the output here
                which qmake
                and
                qmake --version

                1 Reply Last reply
                0
                • D Dean21
                  19 Jan 2023, 08:56

                  @JoeCFD Hi joe I can confirm that I do have version 6.4.2 of Qt, as I can see the folder name 6.4.2 inside the Qt directory

                  J Offline
                  J Offline
                  JoeCFD
                  wrote on 19 Jan 2023, 14:35 last edited by
                  #9

                  @Dean21 If you see qt6.4.2, check where qt mqtt lib is installed.

                  D 1 Reply Last reply 19 Jan 2023, 17:39
                  0
                  • J JoeCFD
                    19 Jan 2023, 14:35

                    @Dean21 If you see qt6.4.2, check where qt mqtt lib is installed.

                    D Offline
                    D Offline
                    Dean21
                    wrote on 19 Jan 2023, 17:39 last edited by
                    #10

                    @JoeCFD by qt mqtt lib what do you mean, like the qtmqtt folder that I git cloned, if so then I have tried having it where I downloaded qt, where it gets put nominally when using git clone, and also inside the Src folder in side the 6.4.2 folder

                    J 1 Reply Last reply 20 Jan 2023, 05:23
                    0
                    • D Dean21
                      19 Jan 2023, 17:39

                      @JoeCFD by qt mqtt lib what do you mean, like the qtmqtt folder that I git cloned, if so then I have tried having it where I downloaded qt, where it gets put nominally when using git clone, and also inside the Src folder in side the 6.4.2 folder

                      J Offline
                      J Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on 20 Jan 2023, 05:23 last edited by
                      #11

                      @Dean21 @JoeCFD asked where the mqtt libs you built are stored, not where the code is...

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

                      1 Reply Last reply
                      0

                      11/11

                      20 Jan 2023, 05:23

                      • Login

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