Error building with Qt 5.15
Brought to you by:
rathmann
Have many errors like this:
.../libs/qwt/qwt_dial_needle.cpp:119: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
119 | QPainterPath path;
| ^~~~
If I change include from
#include <qpainter.h>
to
#include <QPainterPath>
This error gone, however need to change all other Qt includes in the same way as well.
Anonymous
Same bug here: https://github.com/RPCS3/rpcs3/pull/7832
There are many places where '#include qpainterpath.h' is missing. The problem has been introduced with Qt 5.15-Beta2 and was not there with Beta1. As this probably breaks application code in many, many projects I filed a bug report: https://bugreports.qt.io/browse/QTBUG-83159
Nevertheless I have added the missing includes where needed in all branches >= 6.2. I did not decide about what to do with 6.1 - waiting for the decisision being made downstream for 5.15 final.
Thanks!
hello,
qt 5.15.0 has been tagged and it turns out the header change is still needed.
could the related changes be backported to the 6.1.x branch in a newer patch release ?
Yes, the work should have been done already - please check the code in the 6.1 SVN branch.
I will make an official 6.1.5 release when I have some time ( in the next days )
I just tested the 6.1 branch and it's ok with 5.15!
Last edit: Aleix Pol 2020-10-18