Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

No such plugin: 'socketcan' on BeagleBone Black



  • Hi everyone,

    So I have a working Qt installation on my BBB and I want to incorporate QtCanBus now in my application. I'm using this guide as starting point however whenever I run simple snippets, I get the error:

    No such plugin: 'socketcan'
    

    I already have compiled libs and plugins ready on BeagleBone and I also have these three commands exported to define environment variables for Qt.

    export QT_QPA_FONTDIR=/home/debian/Qt5ForBBB/lib/fonts
    export QT_QPA_PLATFORM_PLUGIN_PATH=/home/debian/Qt5ForBBB/plugins/platforms
    export LD_LIBRARY_PATH="/home/debian/Qt5ForBBB/lib":$LD_LIBRARY_PATH
    

    Similar to second path for QPA_PLATFORM_PLUGIN, do we have same for canbus as I have them in my QT5ForBBB/canbus folder?

    Thanks in advance.



  • @kh-park Hey it was quite simple actually.
    Just export following line in your BBB and it will be fine. Make sure the edit the path so that it points in to plugins directory in your BBB's storage.
    export QT_PLUGIN_PATH=/home/debian/Qt5ForBBB/plugins



  • @Ketank16
    Hi I have same problem with above.
    So I'm wondering if you found solution of this.

    Thanks.



  • This post is deleted!


  • @kh-park Hey it was quite simple actually.
    Just export following line in your BBB and it will be fine. Make sure the edit the path so that it points in to plugins directory in your BBB's storage.
    export QT_PLUGIN_PATH=/home/debian/Qt5ForBBB/plugins



  • @ketank16 said in No such plugin: 'socketcan' on BeagleBone Black:

    it was quite simple actually.

    glad you found the solution. Could the post be marked as solved? Thanks.


Log in to reply