Bug 363369 - QtWebKit removed in Qt 5.6 but emerge still attempts to build kdewebkit
Summary: QtWebKit removed in Qt 5.6 but emerge still attempts to build kdewebkit
Status: RESOLVED NOT A BUG
Alias: None
Product: kde-windows
Classification: Miscellaneous
Component: buildsystem (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: KDE-Windows
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-21 14:25 UTC by Jasem Mutlaq
Modified: 2016-05-21 18:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jasem Mutlaq 2016-05-21 14:25:07 UTC
Windows 10 64bit. Qt 5.6 for MSVS 2015. Qt is NOT emerged, it is the official download from Qt.

When running emerge frameworks, it tries to build kdewebkit even with QtWebKit is removed from Qt 5.6

Qt 5.6 is specified in the kdesettings.ini file. I tried to ignore the package by:

Ignores = kdewebkit
and 
Ignores = frameworks/kdewebkit

but emerge still attempts to build kdewebkit resulting in error below:

CMake Error at r:/lib/cmake/Qt5/Qt5Config.cmake:26 (find_package):
  Could not find a package configuration file provided by "Qt5WebKitWidgets"
  with any of the following names:

    Qt5WebKitWidgetsConfig.cmake
    qt5webkitwidgets-config.cmake

  Add the installation prefix of "Qt5WebKitWidgets" to CMAKE_PREFIX_PATH or
  set "Qt5WebKitWidgets_DIR" to a directory containing one of the above
  files.  If "Qt5WebKitWidgets" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:10 (find_package)

Reproducible: Always

Steps to Reproduce:
1. emerge frameworks
2.
3.

Actual Results:  
kdewebkit is compiled

Expected Results:  
kdewebkit should not be build for Qt 5.6+
Comment 1 Jasem Mutlaq 2016-05-21 18:20:36 UTC
Ok, problem is that I was using stock Qt which has GenericDataLocation set to standard directories and not the ones used by KDE emerge environment. 

You don't have the same problem if you emerge Qt since it is patched. Perhaps kdesettings.ini should mention this blocker issue to the user.