Menu

#314 Error building with Qt 5.15

None
closed
None
5
2024-04-03
2020-03-27
No

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.

Discussion

  • Aleksey Kontsevich

     
  • Uwe Rathmann

    Uwe Rathmann - 2020-03-29

    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.

     
    • Aleksey Kontsevich

      Thanks!

       
  • Uwe Rathmann

    Uwe Rathmann - 2020-03-29
    • status: open --> closed
    • Group: -->
     
  • jschueller

    jschueller - 2020-05-26

    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 ?

     
  • Uwe Rathmann

    Uwe Rathmann - 2020-05-26

    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 )

     
  • jschueller

    jschueller - 2020-05-26

    I just tested the 6.1 branch and it's ok with 5.15!

     
  • Aleix Pol

    Aleix Pol - 2020-10-18
     

    Last edit: Aleix Pol 2020-10-18

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB