Bug 415542

Summary: Forward Declaration Build Issues (Qt 5.14.0)
Product: [Frameworks and Libraries] frameworks-knotifications Reporter: John Gehrig <jdg_gehrig>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: arojas, kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 5.64.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description John Gehrig 2019-12-25 03:42:44 UTC
SUMMARY
I'm running Gentoo, and experience build issues for knotifications with a recent system update.

The issue doesn't look Gentoo related to me... There may be some missing includes in knotifications?

Relevant packages:
  - dev-qt/qtcore-5.14.0
  - kde-frameworks/knotifications-5.64.0

STEPS TO REPRODUCE
1. emerge -av =knotifications-5.64.0
2. Build Fails

OBSERVED RESULT

/tmp/portage/kde-frameworks/knotifications-5.64.0/work/knotifications-5.64.0/src/knotification.cpp:571:36: error: return type ‘QVariantMap’ {aka ‘class QMap<QString, QVariant>’} is incomplete
 QVariantMap KNotification::hints() const

ADDITIONAL INFORMATION
On my system, I can manually resolve this issue with "#include <QVariantMap" "knotification.h".

I am currently experiencing similar issues with other KDE applications.

I would be happy to create a patch if there is a real (non-Gentoo) issue here.
Comment 1 Antonio Rojas 2019-12-25 09:21:44 UTC
This is fixed already in the latest release.