#13634: QT5.15 - MythTV fails compile on Arch Linux
--------------------------------------+--------------------------
Reporter: bonhug | Owner: (none)
Type: Bug Report - General | Status: new
Priority: minor | Milestone: needs_triage
Component: MythTV - General | Version: v30-fixes
Severity: medium | Keywords: QT5.15
Ticket locked: 0 |
--------------------------------------+--------------------------
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
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13634>
MythTV <http://www.mythtv.org>
MythTV Media Center
--------------------------------------+--------------------------
Reporter: bonhug | Owner: (none)
Type: Bug Report - General | Status: new
Priority: minor | Milestone: needs_triage
Component: MythTV - General | Version: v30-fixes
Severity: medium | Keywords: QT5.15
Ticket locked: 0 |
--------------------------------------+--------------------------
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
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13634>
MythTV <http://www.mythtv.org>
MythTV Media Center