QCanbus on QT5.5
-
Hi All,
I'm trying to design Can Bus test application.
After googling, I found there is QCanBus API that I could use in QT.I'm wondering is QCanBus support in QT 5.5?
If it does, how can I include it in my application?
Do I need to add anything in my .pro file?Thanks in Advanced!
-
Hi All,
I'm trying to design Can Bus test application.
After googling, I found there is QCanBus API that I could use in QT.I'm wondering is QCanBus support in QT 5.5?
If it does, how can I include it in my application?
Do I need to add anything in my .pro file?Thanks in Advanced!
@victor-wang QCanBus is part of Qt since Qt 5.8, see http://doc.qt.io/qt-5/qcanbus.html
-
@victor-wang QCanBus is part of Qt since Qt 5.8, see http://doc.qt.io/qt-5/qcanbus.html
@jsulm
Is it possible to move libraries to QT5.5?
Otherwise, I can only use QProcess to send CANBUS command to test the functionality.
I'm not quite sure this is the good way to do the test. -
@jsulm
Is it possible to move libraries to QT5.5?
Otherwise, I can only use QProcess to send CANBUS command to test the functionality.
I'm not quite sure this is the good way to do the test.@victor-wang said in QCanbus on QT5.5:
Is it possible to move libraries to QT5.5?
Not without big effort. E.g. you need a C++11 compiler. By the way, 5.5 is no longer supported.
Otherwise, I can only use QProcess to send CANBUS command to test the functionality.
Why? There is always a vendor API to acces the CAN hardware. Use this API, as Qt CAN bus does.
I'm not quite sure this is the good way to do the test.
I'd say no.
Regards
-
@victor-wang said in QCanbus on QT5.5:
Is it possible to move libraries to QT5.5?
Not without big effort. E.g. you need a C++11 compiler. By the way, 5.5 is no longer supported.
Otherwise, I can only use QProcess to send CANBUS command to test the functionality.
Why? There is always a vendor API to acces the CAN hardware. Use this API, as Qt CAN bus does.
I'm not quite sure this is the good way to do the test.
I'd say no.
Regards
@aha_1980
Thanks for your reply.
I'm using Yocto 2.0.
And it only supports QT5.5 in Yocto version 2.0.
This is the reason why I can only use QT5.5.