New cmake error
Jack
ostroffjh at users.sourceforge.net
Mon Jun 15 01:14:55 BST 2020
On 6/13/20 1:40 PM, Jack wrote:
> On my Arch Linux laptop, cmake now gives me many errors similar to:
>
> CMake Error at /usr/share/ECM/modules/ECMAddTests.cmake:110
> (add_executable):
> Target "mymoneyobject-test" links to target "Qt5::WebKitWidgets" but
> the
> target was not found. Perhaps a find_package() call is missing for an
> IMPORTED target, or an ALIAS target is missing?
>
> This is with master or 5.1 branch, and I can't remember the last time
> I did a successful build on this laptop, so I don't know if something
> changed due to some upgrade, or if something changed in the cmake
> files since I last built here. I'm pretty sure I've done a successful
> build on my Gentoo desktop within the past week, but I'm not home
> right now to confirm.
>
> Thanks for any suggestions.
>
> Jack
I have not yet found any reason why mymoneyobject-test (or any of the
other targets that produce the same error) should link to
Qt5::WebKitWidgets (especially since I have enables QTWebEngine) but I
may have found a hint. Simply hunting for the string Qt5::WebKitWidgets
in all cmake files I can find, it is in
/usr/lib/cmake/LibAlkimia5-8.0/LibAlkimia5Targets.cmake which is
provided by my (ArtixLinux) libalkimia 8.0.3 package. So, I now have
two questions: 1) why does libalkimia depend on Qt5::WebKitWidgets, and
2) why is it not found, even though I have kdewebkit and qt5-webkit
installed, and the latter provides /usr/lib/cmake/Qt5WebKitWidgets?
More information about the KMyMoney-devel
mailing list