Page 1 of 1

Problem with renderarea.cpp code

Posted: 07 Nov 2021, 23:51
by Gary R
Hi all,
Operating System: Debian GNU/Linux 11
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2#include <QPainterPath>
Kernel Version: 5.10.0-9-amd64
OS Type: 64-bit
Processors: 4 × AMD FX(tm)-4350 Quad-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: AMD CAICOS

I encountered a make error while installing Elmer on my debian 11 system.
error: aggregate ‘QPainterPath path’ has incomplete type and cannot be define
I chased this down to a problem with the ElmerGUI/Application/twod/renderarea.cpp file. Adding
#include <QPainterPath>
to the file cured the problem. Is this a bug?

Gary R.

Re: Problem with renderarea.cpp code

Posted: 08 Nov 2021, 12:50
by raback
Hi Gary,

This seems to have been fixed in February:

https://github.com/ElmerCSC/elmerfem/co ... cb635ff652

May I ask where you got the code where this still persists?

-Peter