Getting compilation of map65 working with CMake and Qt 5.15

This commit is contained in:
Bill Somerville
2021-04-09 17:47:49 +01:00
parent 96e8908866
commit 769e00ab88
15 changed files with 166 additions and 298 deletions
+2 -2
View File
@@ -285,7 +285,7 @@ void CPlotter::DrawOverlay() //DrawOverlay()
QRect rect0;
QPainter painter0(&m_ScalePixmap);
painter0.initFrom(this);
painter0.begin (this);
//create Font to use for scales
QFont Font("Arial");
@@ -365,7 +365,7 @@ void CPlotter::DrawOverlay() //DrawOverlay()
// Now make the zoomed scale, using m_ZoomScalePixmap and painter3
QRect rect1;
QPainter painter3(&m_ZoomScalePixmap);
painter3.initFrom(this);
painter3.begin (this);
painter3.setFont(Font);
painter3.setPen(Qt::black);