Opened 4 months ago

Closed 4 months ago

Last modified 4 months 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


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.



Change History (2)

comment:1 Changed 4 months ago by Stuart Auchterlonie

Milestone: needs_triage31.1
Resolution: Fixed
Status: newclosed

comment:2 Changed 4 months ago by Stuart Auchterlonie

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