Solved Building mqtt
-
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..
-
@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:
- you didn't provide the full error message...
- from what's there it looks like Perl is not available in your path
-
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 2I don't really know where is perl, is perl on Qt folder? or do I have to download it from another site ?
-
@FranciscoNC said in Building mqtt:
do I have to download it from another site ?
you need to have Perl available in your system
-
Hi
https://doc.qt.io/qt-5/windows-requirements.html
Building from Source section suggests
https://www.activestate.com/products/activeperl/ -
It works, thanks :)
-
This post is deleted!