Problem with renderarea.cpp code

Discussion about building and installing Elmer
Post Reply
Gary R
Posts: 162
Joined: 12 Apr 2012, 07:23
Antispam: Yes
Location: Long Beach CA, USA

Problem with renderarea.cpp code

Post 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.
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Problem with renderarea.cpp code

Post 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
Post Reply