Qt 5.8 with QtSerialBus released

This forum covers third party software that is for example developed with our APIs
Post Reply
A.Hartmann
Posts: 19
Joined: Tue 8. Oct 2013, 07:19

Qt 5.8 with QtSerialBus released

Post by A.Hartmann » Mon 7. Nov 2016, 07:33

Qt 5.8 Beta was released last friday [1] and now officially contains the QtSerialBus module.

QtSerialBus allows easy CAN bus access from within Qt applications.

Peak CAN bus adapters are supported by the PCAN-Basic-API under Windows (USB and PCI devices), and by SocketCAN under Linux. A simple GUI and a console example are included to try out the features.

Please try this beta and report all issues to the Qt bug tracker [2]
Thanks.

[1] http://blog.qt.io/blog/2016/11/04/qt-5-8-beta-released/
[2] http://bugreports.qt.io

A.Hartmann
Posts: 19
Joined: Tue 8. Oct 2013, 07:19

Re: Qt 5.8 with QtSerialBus released

Post by A.Hartmann » Mon 30. Jan 2017, 13:20

Hi,

and last week Qt 5.8 final was released [1].

The new QtSerialBus module [2] makes it much easier to access CAN hardware from for Qt programs.

[1] http://blog.qt.io/blog/2017/01/23/qt-5-8-released/
[2] http://doc.qt.io/qt-5/qtserialbus-index.html

rachedrech
Posts: 9
Joined: Mon 20. Mar 2017, 11:11

Re: Qt 5.8 with QtSerialBus released

Post by rachedrech » Mon 20. Mar 2017, 11:19

Hello,

I am having a problem with the Qt CAN example, it runs perfectly on windows and I am able to send and receive messages. On Linux I i installed the PCAN driver and tested it and it works, but when I use the Qt CAN example I always have an error when connecting to the peak can device: "A PCAN Channel has not been initialized yet or the initialization process has failed" or sometimes this error:" An operation is not allowed due to the current configuration ".

Can someone please tell me what could be the problem? (I am a rookie)

Thanks in advance

User avatar
U.Wilhelm
Sales & Support
Sales & Support
Posts: 1140
Joined: Fri 10. Sep 2010, 19:34

Re: Qt 5.8 with QtSerialBus released

Post by U.Wilhelm » Tue 21. Mar 2017, 12:04

This Forum is no QT Forum - please post it to http://bugreports.qt.io
--------------------------------
PEAK-System Technik
Technical Support Team
support@peak-system.com
-------------------------------

A.Hartmann
Posts: 19
Joined: Tue 8. Oct 2013, 07:19

Re: Qt 5.8 with QtSerialBus released

Post by A.Hartmann » Mon 20. Nov 2017, 07:37

rachedrech wrote:Hello,

I am having a problem with the Qt CAN example, it runs perfectly on windows and I am able to send and receive messages. On Linux I i installed the PCAN driver and tested it and it works, but when I use the Qt CAN example I always have an error when connecting to the peak can device: "A PCAN Channel has not been initialized yet or the initialization process has failed" or sometimes this error:" An operation is not allowed due to the current configuration ".

Can someone please tell me what could be the problem? (I am a rookie)

Thanks in advance
Hi rachedrech,

We lately had a report about this issue and the problem is resolved in Qt 5.9.3. Please consider updating.

Best regards,
André

Post Reply