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. Compile serialbus with Socket CAN
Forum Update on Monday, May 27th 2025

Compile serialbus with Socket CAN

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 3 Posters 502 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.
  • M Offline
    M Offline
    marcoh
    wrote on 12 Dec 2022, 18:43 last edited by
    #1

    Hi,

    how can I compile the serialbus module with socketcan ?
    When I run qmake ..\qt-everywhere-src-5.15.3\qtserialbus\ it outputs the bellow.

    Qt SerialBus:
      Socket CAN ............................. no
      Socket CAN FD .......................... no
      SerialPort Support ..................... yes
    

    I try to build it on Windows 10 x64 as an x86 framework.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 12 Dec 2022, 18:47 last edited by
      #2

      Socket CAN imo can/does not work on windows - see https://doc.qt.io/qt-6/qtcanbus-backends.html#can-bus-plugins

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      1
      • M Offline
        M Offline
        marcoh
        wrote on 13 Dec 2022, 07:20 last edited by
        #3

        Ok that makes sense to me.
        What is about the passthrucan Plugin.
        Where / How can I Enable It to build ?
        I'm using QT 5.15 if that matters.

        K 1 Reply Last reply 13 Dec 2022, 10:12
        0
        • M marcoh
          13 Dec 2022, 07:20

          Ok that makes sense to me.
          What is about the passthrucan Plugin.
          Where / How can I Enable It to build ?
          I'm using QT 5.15 if that matters.

          K Offline
          K Offline
          kuzulis
          Qt Champions 2020
          wrote on 13 Dec 2022, 10:12 last edited by kuzulis
          #4

          @marcoh you can build it separately. Just download the qtserialbus sources, open it in qtcreator and build. AFAIK, there are no a special requirements to build it on Windows (I meant about peakcan, tinycan, passthrucan, vectorcan).

          1 Reply Last reply
          2
          • M Offline
            M Offline
            marcoh
            wrote on 16 Dec 2022, 11:04 last edited by
            #5

            Is it also possible to compile it on the cli without qtcreator ?

            C 1 Reply Last reply 16 Dec 2022, 12:01
            0
            • M marcoh
              16 Dec 2022, 11:04

              Is it also possible to compile it on the cli without qtcreator ?

              C Offline
              C Offline
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote on 16 Dec 2022, 12:01 last edited by
              #6

              @marcoh said in Compile serialbus with Socket CAN:

              Is it also possible to compile it on the cli without qtcreator ?

              Yes, why not?

              Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
              Visit the Qt Academy at https://academy.qt.io/catalog

              1 Reply Last reply
              1
              • A aha_1980 has marked this topic as solved on 31 Dec 2023, 12:16

              2/6

              12 Dec 2022, 18:47

              4 unread
              • Login

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