Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QMapShack does not compile with Qt-5.15 #216

Closed
grozin opened this issue Jun 16, 2020 · 4 comments
Closed

QMapShack does not compile with Qt-5.15 #216

grozin opened this issue Jun 16, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@grozin
Copy link

grozin commented Jun 16, 2020

qmapshack-V_1.14.0/src/qmapshack/helpers/CDraw.cpp:210:18: error: aggregate ‘QPainterPath bubblePath’ has incomplete type and cannot be defined

qmapshack-V_1.14.0/src/qmapshack/helpers/CDraw.cpp:240:22: error: aggregate ‘QPainterPath pointerPath’ has incomplete type and cannot be defined

Include files were reorganized in Qt-5.15, and many projects (e..g., qwt) are affected. Some extra #include's are needed. According to https://doc.qt.io/qt-5/qpainterpath.html, to use QPainterPath one has to
#include <QPainterPath>
I added this line after the other #include's in src/qmapshack/helpers/CDraw.cpp; unfortunately, this did not help. I am not a C++ expert, unfortunately.

By the way, why both qmapshack-1.14.1.tar.gz and qmapshack-1.15.0.tar.gz unpack to qmapshack-V_1.14.0? This is inconvenient.

@grozin
Copy link
Author

grozin commented Jun 16, 2020

Sorry, this site does not allow to write #include's correctly. I mean
#include <QPainterPath>

@kiozen
Copy link
Collaborator

kiozen commented Jun 22, 2020

@grozin
Copy link
Author

grozin commented Jun 22, 2020

Thanks, this solves the problem.

@kiozen
Copy link
Collaborator

kiozen commented Jun 22, 2020

Well this was just a mental note for me, what to change. Still, this has to be fixed in the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants