Qt5::WebEngineWidgets -->Target not found

Marco Hornung marco_h123 at yahoo.de
Thu Aug 17 13:40:28 BST 2023


Hi,i am trying to compile kmymoney.First of all i am not a expert in that topic.My system is archlinux.I got the following output
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/ 2>&1 | tee build.log
-- Working on branch master-- Detected an unstable master branch-- Found KF5: success (found suitable version "5.108.0", minimum required is "5.90") found components: Archive CoreAddons Config ConfigWidgets I18n Completion KCMUtils ItemModels ItemViews Service XmlGui TextWidgets Notifications KIO -- Found KF5: success (found suitable version "5.108.0", minimum required is "5.90") found components: DocTools Holidays Contacts Activities CMake Warning at /usr/lib/cmake/KF5IdentityManagement/KF5IdentityManagementConfig.cmake:44 (message):  
  ************* DEPRECATION WARNING *************
  Using find_package(KF5Identity) and KF5::Identity targets is deprecated.  Please use find_package(KPim5Identity) and KPim5::Identity instead.  This  backwards compatibility will be removed in the next major version.
  ***********************************************
Call Stack (most recent call first):  /usr/share/ECM/find-modules/FindKF5.cmake:52 (find_package)  CMakeLists.txt:145 (find_package)

-- Found KF5: success (found suitable version "5.23.3", minimum required is "5.14.2") found components: Akonadi IdentityManagement -- Found LibAlkimia: /usr/lib/cmake/LibAlkimia5-8.1/LibAlkimia5Config.cmake (found version "8.1.1")-- Could NOT find libofx (missing: libofx_DIR)-- Checking for module 'libofx'--   Found libofx, version 0.10.9mymoneystoragemgr-test.cpp disabled in /home/pi/kmymoney_test/kmymoney/mymoney/storage/testsmymoneydatabasemgr-test.cpp disabled in /home/pi/kmymoney_test/kmymoney/plugins/sql/tests--      SQLCIPHER INCLUDE   :  /usr/include/sqlcipher--      SQLCIPHER LIBRARIES :  /usr/lib
Build type: RelWithDebInfo-- The following REQUIRED packages have not been found:
-- The following OPTIONAL packages have not been found: * libofx (required version >= 0.10.0)
-- The following features have been enabled: * Encryption, Allows to store your financial data using strong GPG encryption. * Doxygen, Generate API documentation with Doxygen (for devs only). * Address book, Allows fetching payee information from KDE PIM system. * Holidays, Allows fetching holidays from KDE PIM system. * Forecast view, Adds possibility to calculate forecasts. * Reports view, Adds possibility to display chart and table reports. * Budget view, Adds possibility to plan a budget. * Online job outbox view, Adds outbox for sending online jobs. * SQL Storage, Allows storing your financial data in SQL database. * LibOFX, Enables OFX import, export, and Direct Connect using LibOFX library. * SQLCipher, Allows encrypting your SQLite3 database. * KBanking, Interface for the following online banking protocols: HBCI, EBICS, OFX Direct Connect, Paypal * Woob, Online banking interface using Woob. * iCalendar, iCalendar integration.
-- The following features have been disabled: * SQL Tracer, It traces the SQL queries to the console. * IBAN/BIC data, Adds predefined IBAN/BIC numbers to KMyMoney (note: doesn't work yet). * Warnings as errors, Enforces all warnings to be reported as errors. * Model test, Generate modeltest code (for devs only). * QtDesigner, Qt-Designer library support (for devs only).
-- Configuring done (3.0s)CMake Error at /usr/lib/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:
    * There is a typo in the target name.    * A find_package call is missing for an IMPORTED target.    * An ALIAS target is missing.
Call Stack (most recent call first):  /usr/lib/cmake/LibAlkimia5-8.1/LibAlkimia5Config.cmake:66 (include)  CMakeLists.txt:153 (find_package)

-- Generating done (3.6s)CMake Generate step failed.  Build files cannot be regenerated correctly.




Cmake search for Qt5::WebEngineWidgets, but i have it installed.-->qt5-webengine-5.15.14-4
 I have also attached the LibAlkimia5Config.cmake file, here is also the relevant snippet


set_target_properties(Alkimia::alkimia PROPERTIES  INTERFACE_COMPILE_OPTIONS "\$<\$<CXX_COMPILER_ID:MSVC>:-EHsc>;\$<\$<CXX_COMPILER_ID:Intel>:-fexceptions>;\$<\$<OR:\$<CXX_COMPILER_ID:GNU>,\$<CXX_COMPILER_ID:Clang>,\$<CXX_COMPILER_ID:AppleClang>>:-fexceptions>"  INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"  INTERFACE_LINK_LIBRARIES "/usr/lib/libgmp.so;Qt5::WebEngineWidgets"

I hope I have provided all the relevant information, thanks for the support.






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney/attachments/20230817/6307ecff/attachment.htm>


More information about the KMyMoney mailing list