ongoing problems findind Qt5-WebEngineWidgets

Thomas Baumgart thb at net-bembel.de
Sun Aug 20 21:42:32 BST 2023


On Sonntag, 20. August 2023 20:13:27 CEST Jack via KMyMoney-devel wrote:

> It seems the problem with cmake not finding webenginewidgets has been 
> popping up in a number of different threads in different support 
> venues.  In my current case, trying to compile from git head master 
> branch gives me
> 
> CMake Error at 
> /usr/lib64/cmake/LibAlkimia5-8.1/LibAlkimia5Targets.cmake:65 
> (set_target_properties):
>   The link interface of target "Alkimia::alkimia" contains:
> 
>     Qt5::WebEngineWidgets
> 
>   but the target was not found.  Possible reasons include:
> 
> This is on artixlinux, where webenginewidgets is provided by the 
> qt5-webengine package.  The relevant cmake files in that package are
> 
> qt5-webengine usr/lib/cmake/Qt5WebEngineWidgets/
> qt5-webengine 
> usr/lib/cmake/Qt5WebEngineWidgets/Qt5WebEngineWidgetsConfig.cmake
> qt5-webengine 
> usr/lib/cmake/Qt5WebEngineWidgets/Qt5WebEngineWidgetsConfigVersion.cmake
> 
> Note on my system /usr/lib and /usr/lib64 are symlinked. However, I 
> wonder if the call should be for Qt5::Qt5WebEngineWidgets.

I am not sure at all. I have the following files here

/usr/lib64/cmake/Qt5Designer/Qt5Designer_QWebEngineViewPlugin.cmake
/usr/lib64/cmake/Qt5WebEngine/Qt5WebEngineConfig.cmake
/usr/lib64/cmake/Qt5WebEngine/Qt5WebEngineConfigVersion.cmake
/usr/lib64/cmake/Qt5WebEngineCore/Qt5WebEngineCoreConfig.cmake
/usr/lib64/cmake/Qt5WebEngineCore/Qt5WebEngineCoreConfigVersion.cmake
/usr/lib64/cmake/Qt5WebEngineWidgets/Qt5WebEngineWidgetsConfig.cmake
/usr/lib64/cmake/Qt5WebEngineWidgets/Qt5WebEngineWidgetsConfigVersion.cmake

which looks very similar to yours and have no problems. I do use
alkimia master though, not the 8.1 branch.

> Is there a terminology difference (qt5webenginewidgets vs 
> webenginewidets) between different packages providing and using this 
> component?  If so, which is right and which needs to be corrected?  Or 
> am I totally off the mark and this difference is not relevant?

So am I. I don't know if that is caused by naming conventions of
the various distros or something else? Also, why is it failing now
and did work in the past?

-- 

Regards

Thomas Baumgart

-------------------------------------------------------------
Having trouble with Windows? Reboot!
Having trouble with Linux? Be root!
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 868 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20230820/10eb471a/attachment.sig>


More information about the KMyMoney-devel mailing list