diff options
author | Andre Hartmann <aha_1980@gmx.de> | 2017-03-03 08:11:44 +0100 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2017-03-30 05:51:23 +0000 |
commit | d09ec5d8f496b7e3b5bdfef52f48e2d301be99f1 (patch) | |
tree | 18ca5380240c73fef605c99bc9133557553a2047 /src/serialbus/doc | |
parent | dc124162efeabe90b9025789391d1f0e15cef0f1 (diff) |
QCanBusFactory: Restore binary compatibility to Qt 5.8
Added a new QCanBusFactoryV2 to load plugins with the
new virtual function availableDevices().
To be able to still load plugins compiled against Qt 5.8,
both factories have to be considered when loading plugins
and creating devices.
Change-Id: I843cdd0b82193e391699daa298454c8b9522e860
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/serialbus/doc')
-rw-r--r-- | src/serialbus/doc/src/qtcanbus-backends.qdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialbus/doc/src/qtcanbus-backends.qdoc b/src/serialbus/doc/src/qtcanbus-backends.qdoc index 522c6f2..c04cdd1 100644 --- a/src/serialbus/doc/src/qtcanbus-backends.qdoc +++ b/src/serialbus/doc/src/qtcanbus-backends.qdoc @@ -95,7 +95,7 @@ \endcode This key must be passed to \l {QCanBus::createDevice()} together with the interface name of - the CAN bus adapter. QCanBus loads and instantiates the plugin using the QCanBusFactory + the CAN bus adapter. QCanBus loads and instantiates the plugin using the QCanBusFactoryV2 interface which each plugin must implement as central entry point. The interface acts as a factory and its sole purpose is to return a \l QCanBusDevice instance. The above mentioned interface name is passed on via the factory's \l QCanBusFactory::createDevice() method. |