[kmymoney] [Bug 440594] New: Make qtwebengine optional for kmymoney

Matthew Schultz bugzilla_noreply at kde.org
Wed Aug 4 18:00:16 BST 2021


https://bugs.kde.org/show_bug.cgi?id=440594

            Bug ID: 440594
           Summary: Make qtwebengine optional for kmymoney
           Product: kmymoney
           Version: 5.1.2
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: buildsystem
          Assignee: kmymoney-devel at kde.org
          Reporter: mattsch at gmail.com
  Target Milestone: ---

SUMMARY
I was wondering if it would be possible to make qtwebengine optional but not
make the obsolete qtwebkit required as a consequence of disabling qtwebengine. 
I run Gentoo and to install kmymoney, I have to compile qtwebengine because
it's required and qtwebkit is currently deprecated and being removed. 
qtwebengine takes an enormous amount of time to compile and it would be nice to
avoid installing it especially if the functionality it provides in kmymoney is
not something I need.


STEPS TO REPRODUCE
1. -DENABLE_WEBENGINE=OFF

OBSERVED RESULT
Disabling qtwebengine makes qtwebkit required and it looks for that library
instead: 

CMake Error at CMakeLists.txt:224 (find_package):
  By not providing "FindKF5WebKit.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "KF5WebKit", but CMake did not find one.

  Could not find a package configuration file provided by "KF5WebKit" with
  any of the following names:

    KF5WebKitConfig.cmake
    kf5webkit-config.cmake

  Add the installation prefix of "KF5WebKit" to CMAKE_PREFIX_PATH or set
  "KF5WebKit_DIR" to a directory containing one of the above files.  If
  "KF5WebKit" provides a separate development package or SDK, be sure it has
  been installed.



EXPECTED RESULT
Don't require qtwebkit if qtwebengine is not enabled


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.21.5
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 5.15.2

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list