Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#13634 closed Bug Report - General (Fixed)

QT5.15 - MythTV fails compile on Arch Linux

Reported by: bonhug Owned by: Stuart Auchterlonie
Priority: minor Milestone: 31.1
Component: MythTV - General Version: v30-fixes
Severity: medium Keywords: QT5.15
Cc: Ticket locked: no

Description

Compile of mythtv with QT5.15 fails with the following messages

mythpainter.cpp: In member function ‘void MythPainter::DrawTextPriv(MythImage*, const QString&, int, const QRect&, const MythFontProperties&)’:
mythpainter.cpp:268:18: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
  268 |     QPainterPath path;
      |                  ^~~~
make[2]: *** [Makefile:1629: obj/mythpainter.o] Error 1

by adding

#include <QPainterPath>

to the top of mythpainter.cpp allowed compilation to succeed.

Regards

Brendan

Change History (2)

comment:1 Changed 4 years ago by Stuart Auchterlonie

Milestone: needs_triage31.1
Resolution: Fixed
Status: newclosed

comment:2 Changed 4 years ago by Stuart Auchterlonie

Owner: set to Stuart Auchterlonie
Note: See TracTickets for help on using tickets.