Bug 360771

Summary: Unable to compile with Qt 5.6
Product: [Frameworks and Libraries] frameworks-kdesignerplugin Reporter: rezso <rezso>
Component: generalAssignee: Alex Merry <alex.merry>
Status: RESOLVED WORKSFORME    
Severity: normal CC: cfeck, kdelibs-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description rezso 2016-03-20 11:26:49 UTC
kdesignerplugin depends on kdewebkit, which is depends on qtwebkit.
But the Qtwebkit is removed in Qt 5.6: http://blog.qt.io/blog/2016/03/16/qt-5-6-released/
kdesignerplugin is REQUIRED for many plasma components via kdelibs4support.
Please remove the kdewebkit/qtwebkit dependency, or set this package to OPTIONAL for kdelibs4support.

Reproducible: Always
Comment 1 Christoph Feck 2016-03-22 21:05:18 UTC
Are you compiling from source? The KF5WebKit dependency is already optional in KF5DesignerPlugin, see CMakeLists.txt:

...
find_package(KF5WebKit ${KF5_DEP_VERSION})
set_package_properties(KF5WebKit PROPERTIES TYPE OPTIONAL
   PURPOSE "Required to build the Qt Designer plugin for the KDEWebKit widgets")
...
if(Qt5Designer_FOUND AND KF5WebKit_FOUND)
  set(BUILD_KDEWEBKIT_DESIGNER_PLUGIN TRUE)
endif()
...
Comment 2 rezso 2016-03-23 07:10:10 UTC
Yes, I compiled from source.
And the kdewebkit is really optional dependency, sorry for this issue.