qtinterfaceframework: fix example packaging

Multiple examples provide the same library which causes packaging failure:
ERROR: qtinterfaceframework-6.4.0-r0 do_package: qtinterfaceframework-examples: Multiple shlib providers for libInstrumentCluster.so

Add the library to PRIVATE_LIBS, since it's only used by the examples.

Change-Id: If09bc7d235171b2b844ec579f6affa6fbe3f8a6d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 90a8c72bed)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Samuli Piippo 2022-04-28 06:34:09 +00:00 committed by Qt Cherry-pick Bot
parent a8cf585e1f
commit b2894aad5c

View File

@ -41,6 +41,8 @@ FILES:${PN}-refapi-vehiclefuntions = "\
DEPENDS += "qtbase qtdeclarative qtdeclarative-native qtinterfaceframework-native"
PRIVATE_LIBS:${PN}-examples = "libInstrumentCluster.so"
PACKAGECONFIG ?= "ifcodegen remoteobjects interfaceframework \
${PACKAGECONFIG_REFERENCE_API} \
${PACKAGECONFIG_SIMULATION} \