Hi Oliver,

thank you very much.

Have we change to a new Qt version next time?


Kind regards


Axel


Am 11.08.2018 um 12:50 schrieb Oliver Eichler:
Hi,

this is because QLineF::center() is part of Qt5.8 and more recent. I should
fix the version check.

Oliver




Am Freitag, 10. August 2018, 21:19:55 CEST schrieb APM:
Dear all,


I use Debian stable. If I compile QMS as usal I got the error below.

Compiling with Debian testing works.

Could you please give me a hint?


Thank you,


Kind regards


Axel



[ 43%] Building CXX object
src/qmapshack/CMakeFiles/qmapshack.dir/mouse/CMouseRuler.cpp.o
/home/user/QMS/QMapShack/src/qmapshack/mouse/CMouseRuler.cpp: In member
function ‘virtual void CMouseRuler::draw(QPainter&, CCanvas::redraw_e,
const QRect&)’: /home/user/QMS/QMapS[ 43%] Building CXX object
src/qmapshack/CMakeFiles/qmapshack.dir/mouse/CMouseRuler.cpp.o
/home/user/QMS/QMapShack/src/qmapshack/mouse/CMouseRuler.cpp: In member
function ‘virtual void CMouseRuler::draw(QPainter&, CCanvas::redraw_e,
const QRect&)’:
/home/user/QMS/QMapShack/src/qmapshack/mouse/CMouseRuler.cpp:298:29: error:
‘class QLineF’ has no member named ‘center’
p.translate(seg.center().toPoint());
                               ^~~~~~
src/qmapshack/CMakeFiles/qmapshack.dir/build.make:6219: die Regel für Ziel
„src/qmapshack/CMakeFiles/qmapshack.dir/mouse/CMouseRuler.cpp.o“ scheiterte
make[2]: ***
[src/qmapshack/CMakeFiles/qmapshack.dir/mouse/CMouseRuler.cpp.o] Fehler 1
CMakeFiles/Makefile2:174: die Regel für Ziel
„src/qmapshack/CMakeFiles/qmapshack.dir/all“ scheiterte make[1]: ***
[src/qmapshack/CMakeFiles/qmapshack.dir/all] Fehler 2 Makefile:149: die
Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
hack/src/qmapshack/mouse/CMouseRuler.cpp:298:29: error: ‘class QLineF’ has
no member named ‘center’ p.translate(seg.center().toPoint());
                               ^~~~~~
src/qmapshack/CMakeFiles/qmapshack.dir/build.make:6219: die Regel für Ziel
„src/qmapshack/CMakeFiles/qmapshack.dir/mouse/CMouseRuler.cpp.o“ scheiterte
make[2]: ***
[src/qmapshack/CMakeFiles/qmapshack.dir/mouse/CMouseRuler.cpp.o] Fehler 1
CMakeFiles/Makefile2:174: die Regel für Ziel
„src/qmapshack/CMakeFiles/qmapshack.dir/all“ scheiterte make[1]: ***
[src/qmapshack/CMakeFiles/qmapshack.dir/all] Fehler 2 Makefile:149: die
Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Qlandkartegt-users mailing list
Qlandkartegt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Qlandkartegt-users mailing list
Qlandkartegt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to