cmake cana't find Qt5::WebEngineWidgets (only on one PC)

Jack ostroffjh at users.sourceforge.net
Sun Jun 25 19:38:15 BST 2023


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?

Jack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20230625/5e970067/attachment.htm>


More information about the KMyMoney-devel mailing list