Question about installing QtSerialPort on windows7.
-
Hello everyone, I am trying to do a school project with serial port communication and I am trying to get QtSerialPort library running. I have downloaded QT5.0.2 and the newest QtSerialPort. I opened up QtSerialPort.pro and click on bulid->qmake and I got this error
:-1: error: Failed to run: C:\Qt5.0.2\5.0.2\mingw47_32\bin\syncqt.bat -module QtSerialPort -version 5.1.0 -outdir C:/Qt5.0.2/build-qtserialport-Desktop_Qt_5_0_2_MinGW_32bit-Debug C:/Qt5.0.2/qtserialport
I try to follow the instruction on the official release site but it seems for lunix installation only. Please give me some step by step instruction about installing this library. Thanks!
-
It's probably easier to download "Qt 5.1.0 beta 1":http://download.qt-project.org/development_releases/qt/5.1/5.1.0-beta1/ -- it comes bundled with Qt Serial Port already -- no extra installation required.
It's only a Beta release, but it should be stable enough for small school projects.
-
w62820616 ,
Most likely you didn't installed a ActivePerl, or in your Env PATH there is a lot of different garbage to another Perl's, Compiler's or etc.
It is simplest to build library through QtCreator, having added in the project build options the additional Make target of 'install'. Then it will build and will be installed automatically after "Build/Rebuild" button clicked.