Hello everybody,

I tried to install QtSerialPort under Ubuntu x64 with QT5.

Poorly it is not working.


If I use the following command:
Qt Code:
  1. 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:
Qt Code:
  1. Project MESSAGE: /usr/lib/x86_64-linux-gnu/qt5/bin/syncqt -module
  2. QtSerialPort -mkspecsdir /usr/share/qt5/mkspecs -outdir
  3. /home/d/qtserialport
  4. Could not find any sync.profile for your module!
  5. Pass <module directory> to syncqt to sync your header files.
  6. syncqt failed at /usr/lib/x86_64-linux-gnu/qt5/bin/syncqt line 774.
  7. Project ERROR: Failed to run: /usr/lib/x86_64-linux-gnu/qt5/bin/syncqt
  8. -module QtSerialPort -mkspecsdir /usr/share/qt5/mkspecs -outdir
  9. /home/d/qtserialport
To copy to clipboard, switch view to plain text mode 

In line 774 is written:
Qt Code:
  1. die "Could not find any sync.profile for your module!\nPass <module
  2. directory> to syncqt to sync your header files.\nsyncqt failed" if
  3. (!$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 :-)