Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.8, 6.2.4
-
0f598c3c14 (yocto/meta-qt6/dev) 72fa838aaa (yocto/meta-qt6/6.2) d6108f0e6e (yocto/meta-qt6/6.3) 72fa838aaa (yocto/meta-qt6/lts-6.2) d6108f0e6e (yocto/meta-qt6/6.3.1) 72fa838aaa (yocto/meta-qt6/lts-6.2.5) d6108f0e6e (yocto/meta-qt6/6.3.2)
Description
Currently, our pre-built QBSPs do not ship with libsocketcan, therefore /usr/lib/plugins/canbus/libqtsocketcanbus.so cannot run.
Qt SerialBus uses QLibrary to load libsocketcan so there is no visible build-time dependency. It needs to be explicitly added to the Yocto recipe.
Workaround
Users can add this to the local.conf file and build the image as per https://doc.qt.io/QtForDeviceCreation-5.15/qtee-custom-embedded-linux-image.html:
IMAGE_INSTALL_append = " can-utils-dev"
Attachments
Issue Links
- relates to
-
QTBUG-103387 QLibrary doesn't load() after a previously failed load()
-
- Closed
-
For Gerrit Dashboard: QTBUG-102197 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
403843,4 | qtserialbus: use PACKAGECONFIGs | dev | yocto/meta-qt6 | Status: MERGED | +2 | 0 |
404619,2 | qtserialbus: use PACKAGECONFIGs | 6.3 | yocto/meta-qt6 | Status: MERGED | +2 | 0 |
404640,2 | qtserialbus: use PACKAGECONFIGs | 6.2 | yocto/meta-qt6 | Status: MERGED | +2 | 0 |