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
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to