Bug 395244

Summary: Missing qt5 header
Product: [Applications] calligrastage Reporter: rezso <rezso>
Component: generalAssignee: T Zachmann <t.zachmann>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 3.1.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description rezso 2018-06-11 12:50:00 UTC
Building 3.1.0 release fails in stage/part:

/var/uhubuild/work/compile/stage/part/KPrPresentationTool.cpp: In constructor ‘KPrPresentationTool::KPrPresentationTool(KPrViewModePresentation&)’:
/var/uhubuild/work/compile/stage/part/KPrPresentationTool.cpp:70:63: error: invalid use of incomplete type ‘class QFrame’
     m_frame = new QFrame( m_viewMode.canvas()->canvasWidget() );

Adding #include <QFrame> solves the error.