Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QCanbus on QT5.5

QCanbus on QT5.5

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 3 Posters 890 Views
  • 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.
  • V Offline
    V Offline
    victor wang
    wrote on last edited by
    #1

    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!

    jsulmJ 1 Reply Last reply
    0
    • V victor wang

      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!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @victor-wang QCanBus is part of Qt since Qt 5.8, see http://doc.qt.io/qt-5/qcanbus.html

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      V 1 Reply Last reply
      6
      • jsulmJ jsulm

        @victor-wang QCanBus is part of Qt since Qt 5.8, see http://doc.qt.io/qt-5/qcanbus.html

        V Offline
        V Offline
        victor wang
        wrote on last edited by
        #3

        @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.

        aha_1980A 1 Reply Last reply
        0
        • V victor wang

          @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.

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @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

          Qt has to stay free or it will die.

          V 1 Reply Last reply
          5
          • aha_1980A aha_1980

            @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

            V Offline
            V Offline
            victor wang
            wrote on last edited by
            #5

            @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.

            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