QtSerialPort for Beaglebone
-
Hi,
Can QtSerialPort be compiled in Ubuntu, to work on a Beaglebone (Arm processor)?I downloaded the QtSerialPort and it compiled fine on Ubuntu 13.10 with Qt 4.8.
I then tried the cross compiler for Arm (which is working for other projects) and I get the following errors:-"http://pastebin.com/r6Pm5XeU"
So, I copied "qelapsedtimer.h" into the following directory :- @/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include/qtopia/QtCore@
When recompiled, this is what I got:-
"http://pastebin.com/kwLFzHSN"
I don't know where to go from here, can anyone advise?
Regards,
James -
Hi,
Both your link are unknown on pastebin.
Are you sure the version of Qt you are using with angstrom is at least in the 4 series ?
Qtopia is an old name that makes me think of the Qt 3 days
-
Hi,
Thanks for the quick reply.Sorry, the last quote mark caused the problem. These should work.
First link:- “http://pastebin.com/r6Pm5XeU
Second link:- "http://pastebin.com/kwLFzHSNThe toolchain is from March 2011, which is old. But it claims Qt 4.6.
angstrom-2011.03-i686-linux-armv7a-linux-gnueabi-toolchain-qte-4.6.3.tar.bz2
Regards,
James -
QElapsedTimer has been added in Qt 4.7.
You have to build a more recent version of Qt
-
OK. Where can I find instructions to do that?
Thanks in advance.
James -
You can start with the "embedded documentation":https://qt-project.org/doc/qt-4.8/qt-embedded-linux.html
-
Hmmm, looks far too difficult for a newbie!
Is qtextserialport a good alternative?
Regards,
James -
I've also been a newbie to cross-compilation. If you have the time it's worth to try, you'll learn a lot. On the other hand if you'r in a hurry, QextSerialPort should be good.
-
QElapsedTimer can be replace to QTime class for Qt < 4.7. In the old implementation of QtSerialPort so it was done.
QtSerialPort now supports Qt > 4.8.x
-
Can Anyone here confirm me abt QtSerialPort working with ti linaro toolchain in below mentioned link please.
http://software-dl.ti.com/sitara_linux/esd/AM335xSDK/latest/index_FDS.html