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

Compile serialbus with Socket CAN

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 3 Posters 497 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 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
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 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 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
        0
        • M marcoh

          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 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 last edited by
            #5

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

            Christian EhrlicherC 1 Reply Last reply
            0
            • M marcoh

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

              Christian EhrlicherC Offline
              Christian EhrlicherC Offline
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote on 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
              • aha_1980A aha_1980 has marked this topic as solved on

              • Login

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