Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Socketcan in QTQuick
Qt 6.11 is out! See what's new in the release blog

Socketcan in QTQuick

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 3 Posters 2.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    leemic
    wrote on last edited by
    #1

    Does anyone has a sample or example of Socketcan in QTQuick without using qwt just a simple working one.
    I am trying to use it and develope a software for embedded linux system.

    1 Reply Last reply
    0
    • U Offline
      U Offline
      uwer
      wrote on last edited by
      #2

      socketcan is like a regular socket - you can use a QSocketNotifier and the usual IO classes offered by Qt, that can deal with a socket descriptor. But as you don't want to use Qwt your question seems to be more about how to display CAN frames on a plot widget than how to get the frames.

      If you want to do something like a realtime plot I recommend to use C++ and one of the available plot packages ( f.e. Qwt ). Maybe this is not the direction you were asking for, but it should be by far the easier way, than trying to do it with QML yourself !

      Uwe

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Curie
        wrote on last edited by
        #3

        Where you able to find a solution for that? I am trying to understand the CAN network with SocketCAN and QT and Yocto. Will you be able to help? - Thanks.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved