AmonRaNet / QGeoView

QGeoView is a Qt / C ++ widget for visualizing geographic data.
GNU Lesser General Public License v3.0
155 stars 60 forks source link

Qt6 Compatibility #19

Closed bakerb845 closed 2 years ago

bakerb845 commented 2 years ago

The following are the requisite changes to get a Qt 6.x compilation.

I've tried to modify the cmake so that it first looks for Qt6 and then, if not present, reverts to Qt5. However, I don't have Qt5 on my machine so I can't test this functionality.

AmonRaNet commented 2 years ago

The following are the requisite changes to get a Qt 6.x compilation.

I've tried to modify the cmake so that it first looks for Qt6 and then, if not present, reverts to Qt5. However, I don't have Qt5 on my machine so I can't test this functionality.

I can test it for Qt5 fallback.

AmonRaNet commented 2 years ago

I have tested with Qt5. Few fixes needed:

My test patch with fixes here: 0001-Fixes-from-AmonRaNet.patch.zip

AmonRaNet commented 2 years ago

Changes are merged with small formatting adjustments and credits update. Thanks for helping with Qt6 adaptation!