cmake cana't find Qt5::WebEngineWidgets (only on one PC)
Thomas Baumgart
thb at net-bembel.de
Mon Jun 26 07:23:50 BST 2023
On Sonntag, 25. Juni 2023 20:38:15 CEST Jack via KMyMoney-devel wrote:
> On my artix linux box, I was trying to modify an old PKGBUILD I had to
> use current master branch. It finishes the configuration, but then says
> it can't find Qt5::WebEngineWidgets. Same result just running cmake in
> a clean build dir. I have the package qt5-webengine installed, which
> seems to have the webenginewidgets pieces. On my Gentoo box, everything
> works fine. The actual output is:
>
> 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:
>
> Both boxes have libalimia 8.1.1. That file looks essentially the same
> on both boxes (the minimum versions of cmake are different.)
>
> I used identical scripts for the initial run of cmake, both including
> -DENABLE_WEBENGINE=TRUE. Oddly, on the Artix box, running ccmake . does
> NOT show a line for WEBENGINE, but there is one on the Gentoo box. Both
> boxes have cmake version 3.26.4.
>
> One thing I just noticed, Gentoo has qtwebengine 5.15.9. Artix has
> 5.15.14, although many of the files included are 5.15.13, and 5.15.10
> seems to be the latest actually released by Qt. Might this account for
> the problem?
>
> Any suggestions on what else I might differences look for?
You can run cmake with option --trace-expand and analyse what cmake is
doing to find the package and why it fails.
--
Regards
Thomas Baumgart
-------------------------------------------------------------
BTW, just the planning of the test cases helped me
to improve the code a lot. -- Alvaro Soliverez
-------------------------------------------------------------
-------------- 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/20230626/d3218a78/attachment.sig>
More information about the KMyMoney-devel
mailing list