Retroshare build error " 'QPainterPath path' has incomplete type and cannot be defined"
by burning from LinuxQuestions.org on (#5A92V)
Code:gui/gxs/GxsIdDetails.cpp: In static member function static void GxsIdDetails::drawRotatedPolygon(QPixmap*, QList<double>, quint16, quint16, qreal, qreal, quint16, QColor)':
gui/gxs/GxsIdDetails.cpp:753:16: error: aggregate QPainterPath path' has incomplete type and cannot be defined
753 | QPainterPath path;
| ^~~~
make[1]: *** [Makefile.retroshare-gui:26655: temp/linux-g++/obj/GxsIdDetails.o] Error 1
make[1]: Leaving directory '/tmp/SBo/RetroShare-0.6.5/retroshare-gui/src'
make: *** [Makefile:153: retroshare_gui-make_first] Error 2I found a thread discussing the issue on Github but I'm not sure how to solve the problem. Downgrading my QT version? Would that do it? What's the recommended course of action for cases like this?


gui/gxs/GxsIdDetails.cpp:753:16: error: aggregate QPainterPath path' has incomplete type and cannot be defined
753 | QPainterPath path;
| ^~~~
make[1]: *** [Makefile.retroshare-gui:26655: temp/linux-g++/obj/GxsIdDetails.o] Error 1
make[1]: Leaving directory '/tmp/SBo/RetroShare-0.6.5/retroshare-gui/src'
make: *** [Makefile:153: retroshare_gui-make_first] Error 2I found a thread discussing the issue on Github but I'm not sure how to solve the problem. Downgrading my QT version? Would that do it? What's the recommended course of action for cases like this?