Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Problem when debugging
hello im whit a program tha is from a university and have some error like. SerialPort.h: no such file or directory
the project y about a 6 dof arm with arduino that it's manage by this simulator but y can't run it.
THANKS A LOT.
Hi and welcome to devnet,
Do you mean QSerialPort.h ?
Then you need to add
@QT += serialport@
To your pro file
Hope it helps
hey dude thanks a lot i already put the serialport on the .pro and it continue the problem can i send you a mail with the soft ? thanks a lot
If you want to use QSerialPort you have to include QSerialPort, you are showing an error about SerialPort.h, is it a typo ?
If not, what version of Qt are you using ?
i included in the .pro file. im using qt creator 5.0.2 on ubuntu
IIRC QSerialPort has been officially included in 5.1, you might have to compile it by hand for 5.0.2
and how i do that in qtcreator 5.0.2 ?
koahnig last edited by
It is Qt creator 2.7.2 or 2.8.0 at the moment. The version 5.0.2 refers to Qt libs.
There is some information on compiling "QtSerialPort in there":http://qt-project.org/wiki/QtSerialPort However, I am not sure how up-to-date that is.
If you start to compile you may want to compile the whole Qt libs. You get the "source from download page.":http://download.qt-project.org/official_releases/qt/5.1/5.1.0/single/qt-everywhere-opensource-src-5.1.0.tar.gz
Another possibility would be installing the new sdk (Qt5.1.0 and Qt creator 2.7.2) from dowload page.
thanks i will try that and i tell you :)