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. Building mqtt
Forum Update on Monday, May 27th 2025

Building mqtt

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 4 Posters 1.2k 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.
  • F Offline
    F Offline
    FranciscoNC
    wrote on last edited by
    #1

    Hi, I'm trying to build qmqtt module from https://code.qt.io/cgit/qt/qtmqtt.git/ , I did this:

    • git clone git://code.qt.io/qt/qtmqtt.git
    • cd qtmqtt
    • mkdir build
    • cd build
    • qmake ..
    • mingw32-make
      and I got this error: Project ERROR: Failed to run: perl -w C:\Qt\5.12.3\mingw73_64\bin\syncqt.pl -module QtMqtt -version 5.12.3 -outdir C:/Us..
    Pablo J. RoginaP 1 Reply Last reply
    0
    • F FranciscoNC

      Hi, I'm trying to build qmqtt module from https://code.qt.io/cgit/qt/qtmqtt.git/ , I did this:

      • git clone git://code.qt.io/qt/qtmqtt.git
      • cd qtmqtt
      • mkdir build
      • cd build
      • qmake ..
      • mingw32-make
        and I got this error: Project ERROR: Failed to run: perl -w C:\Qt\5.12.3\mingw73_64\bin\syncqt.pl -module QtMqtt -version 5.12.3 -outdir C:/Us..
      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @FranciscoNC said in Building mqtt:

      Failed to run: perl -w C:\Qt\5.12.3\mingw73_64\bin\syncqt.pl -module QtMqtt -version 5.12.3 -outdir C:/Us..

      two things here:

      1. you didn't provide the full error message...
      2. from what's there it looks like Perl is not available in your path

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      2
      • F Offline
        F Offline
        FranciscoNC
        wrote on last edited by
        #3

        Project MESSAGE: perl -w C:\Qt\5.12.3\mingw73_64\bin\syncqt.pl -module QtMqtt -version 5.12.3 -outdir C:/Users/Francisco/Desktop/MQTT/Otro/o2/qtmqtt/build -builddir C:/Users/Francisco/Desktop/MQTT/Otro/o2/qtmqtt/build C:/Users/Francisco/Desktop/MQTT/Otro/o2/qtmqtt
        "perl" no se reconoce como un comando interno o externo,
        programa o archivo por lotes ejecutable.
        Project ERROR: Failed to run: perl -w C:\Qt\5.12.3\mingw73_64\bin\syncqt.pl -module QtMqtt -version 5.12.3 -outdir C:/Users/Francisco/Desktop/MQTT/Otro/o2/qtmqtt/build -builddir C:/Users/Francisco/Desktop/MQTT/Otro/o2/qtmqtt/build C:/Users/Francisco/Desktop/MQTT/Otro/o2/qtmqtt
        mingw32-make[1]: *** [Makefile:43: sub-mqtt-make_first] Error 3
        mingw32-make[1]: Leaving directory 'C:/Users/Francisco/Desktop/MQTT/Otro/o2/qtmqtt/build/src'
        mingw32-make: *** [Makefile:45: sub-src-make_first] Error 2

        I don't really know where is perl, is perl on Qt folder? or do I have to download it from another site ?

        Pablo J. RoginaP 1 Reply Last reply
        0
        • F FranciscoNC

          Project MESSAGE: perl -w C:\Qt\5.12.3\mingw73_64\bin\syncqt.pl -module QtMqtt -version 5.12.3 -outdir C:/Users/Francisco/Desktop/MQTT/Otro/o2/qtmqtt/build -builddir C:/Users/Francisco/Desktop/MQTT/Otro/o2/qtmqtt/build C:/Users/Francisco/Desktop/MQTT/Otro/o2/qtmqtt
          "perl" no se reconoce como un comando interno o externo,
          programa o archivo por lotes ejecutable.
          Project ERROR: Failed to run: perl -w C:\Qt\5.12.3\mingw73_64\bin\syncqt.pl -module QtMqtt -version 5.12.3 -outdir C:/Users/Francisco/Desktop/MQTT/Otro/o2/qtmqtt/build -builddir C:/Users/Francisco/Desktop/MQTT/Otro/o2/qtmqtt/build C:/Users/Francisco/Desktop/MQTT/Otro/o2/qtmqtt
          mingw32-make[1]: *** [Makefile:43: sub-mqtt-make_first] Error 3
          mingw32-make[1]: Leaving directory 'C:/Users/Francisco/Desktop/MQTT/Otro/o2/qtmqtt/build/src'
          mingw32-make: *** [Makefile:45: sub-src-make_first] Error 2

          I don't really know where is perl, is perl on Qt folder? or do I have to download it from another site ?

          Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by
          #4

          @FranciscoNC said in Building mqtt:

          do I have to download it from another site ?

          you need to have Perl available in your system

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

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

            Hi
            https://doc.qt.io/qt-5/windows-requirements.html
            Building from Source section suggests
            https://www.activestate.com/products/activeperl/

            1 Reply Last reply
            6
            • F Offline
              F Offline
              FranciscoNC
              wrote on last edited by
              #6

              It works, thanks :)

              1 Reply Last reply
              1
              • F Offline
                F Offline
                frad112
                Banned
                wrote on last edited by
                #7
                This post is deleted!
                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