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. libsocketcan not found in 5.14.1
Forum Updated to NodeBB v4.3 + New Features

libsocketcan not found in 5.14.1

Scheduled Pinned Locked Moved Solved General and Desktop
qcanbusdeviceserialbus5.14
4 Posts 3 Posters 3.2k 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.
  • R Offline
    R Offline
    rejuce
    wrote on 20 Mar 2020, 09:20 last edited by
    #1

    i upgraded the toolchain from 5.12.3 to 5.14.1 to get the additonal functionalities of the QCanBusDevice.

    under 5.12.3 everything works

    now under 5.14.1 upon creating the device with
    device = QCanBus::instance()->createDevice(
    QStringLiteral("socketcan"), QStringLiteral("can0"), &errorString);

    i get following runtime errors: (compilin and linking is all fine)
    qt.canbus.plugins.socketcan: Cannot load library socketcan: (socketcan: cannot open shared object file: No such file or directory)
    qt.canbus.plugins.socketcan: Cannot load library libsocketcan, some functionality will not be available.
    Cannot load library socketcan: (socketcan: cannot open shared object file: No such file or directory)

    i am a bit lost now on how to debug this...esp bec if i compile for 5.12.3 it does not happend
    any pointers fpor me?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 20 Mar 2020, 09:23 last edited by
      #2

      Install libsocketcan package

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

      1 Reply Last reply
      2
      • R Offline
        R Offline
        rejuce
        wrote on 20 Mar 2020, 13:43 last edited by
        #3

        thanks i did not see that its an external library that has to be installed separetely and 5.14 depends on it while 5.12 does not

        A 1 Reply Last reply 20 Mar 2020, 19:25
        0
        • R rejuce
          20 Mar 2020, 13:43

          thanks i did not see that its an external library that has to be installed separetely and 5.14 depends on it while 5.12 does not

          A Offline
          A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on 20 Mar 2020, 19:25 last edited by
          #4

          @rejuce

          Libsocketcan is still optional, but gives additional functions, as stated here: https://doc.qt.io/qt-5/qtserialbus-socketcan-overview.html

          If you don't use that, you can safely ignore the warning. But if you install the libsocketcan library, that's fine too.

          Regards

          Qt has to stay free or it will die.

          1 Reply Last reply
          1

          2/4

          20 Mar 2020, 09:23

          • Login

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