Hello everybody,
I tried to install QtSerialPort under Ubuntu x64 with QT5.
Poorly it is not working.
If I use the following command:
d@ubuntu:~/qtserialport/build$ sudo qmake /home/d/qtserialport/src/serialport/serialport.pro
d@ubuntu:~/qtserialport/build$ sudo qmake /home/d/qtserialport/src/serialport/serialport.pro
To copy to clipboard, switch view to plain text mode
I get the error:
Project MESSAGE: /usr/lib/x86_64-linux-gnu/qt5/bin/syncqt -module
QtSerialPort -mkspecsdir /usr/share/qt5/mkspecs -outdir
/home/d/qtserialport
Could not find any sync.profile for your module!
Pass <module directory> to syncqt to sync your header files.
syncqt failed at /usr/lib/x86_64-linux-gnu/qt5/bin/syncqt line 774.
Project ERROR: Failed to run: /usr/lib/x86_64-linux-gnu/qt5/bin/syncqt
-module QtSerialPort -mkspecsdir /usr/share/qt5/mkspecs -outdir
/home/d/qtserialport
Project MESSAGE: /usr/lib/x86_64-linux-gnu/qt5/bin/syncqt -module
QtSerialPort -mkspecsdir /usr/share/qt5/mkspecs -outdir
/home/d/qtserialport
Could not find any sync.profile for your module!
Pass <module directory> to syncqt to sync your header files.
syncqt failed at /usr/lib/x86_64-linux-gnu/qt5/bin/syncqt line 774.
Project ERROR: Failed to run: /usr/lib/x86_64-linux-gnu/qt5/bin/syncqt
-module QtSerialPort -mkspecsdir /usr/share/qt5/mkspecs -outdir
/home/d/qtserialport
To copy to clipboard, switch view to plain text mode
In line 774 is written:
die "Could not find any sync.profile for your module!\nPass <module
directory> to syncqt to sync your header files.\nsyncqt failed" if
(!$basedir);
die "Could not find any sync.profile for your module!\nPass <module
directory> to syncqt to sync your header files.\nsyncqt failed" if
(!$basedir);
To copy to clipboard, switch view to plain text mode
If I try to install it directly with QtCreator I also get errors.
Could you please help me to solve my problem?
I am a beginner and I have really no idea whats wrong or how to solve the problem.
Thank you very much :-)
Bookmarks