[Gambas-user] Compiling Gambas: error in gb.qt5

Gianluigi bagonergi at gmail.com
Fri Jun 4 22:46:11 CEST 2021


Compiling Gambas i get this error:
...
Making all in gb.qt5
make[2]: ingresso nella directory «/home/gian/gambasdevel/gb.qt5»
make  all-recursive
make[3]: ingresso nella directory «/home/gian/gambasdevel/gb.qt5»
Making all in src
make[4]: ingresso nella directory «/home/gian/gambasdevel/gb.qt5/src»
Making all in .
make[5]: ingresso nella directory «/home/gian/gambasdevel/gb.qt5/src»
  CC       gb_qt5_la-desktop.lo
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -o main_moc.cpp main.h
  CXX      gb_qt5_la-main_moc.lo
  CXX      gb_qt5_la-main.lo
  CXX      gb_qt5_la-CFont.lo
  CXX      gb_qt5_la-CScreen.lo
  CXX      gb_qt5_la-CStyle.lo
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -o CWidget_moc.cpp CWidget.h
  CXX      gb_qt5_la-CWidget_moc.lo
  CXX      gb_qt5_la-CWidget.lo
CWidget.cpp: In member function ‘virtual bool
CWidget::eventFilter(QObject*, QEvent*)’:
CWidget.cpp:2904:16: error: ‘class QWheelEvent’ has no member named
‘position’
 2904 |     p.setX(ev->position().x());
      |                ^~~~~~~~
CWidget.cpp:2905:16: error: ‘class QWheelEvent’ has no member named
‘position’
 2905 |     p.setY(ev->position().y());
      |                ^~~~~~~~
CWidget.cpp:2917:30: error: ‘class QWheelEvent’ has no member named
‘globalPosition’; did you mean ‘globalPos’?
 2917 |     MOUSE_info.screenX = ev->globalPosition().x();
      |                              ^~~~~~~~~~~~~~
      |                              globalPos
CWidget.cpp:2918:30: error: ‘class QWheelEvent’ has no member named
‘globalPosition’; did you mean ‘globalPos’?
 2918 |     MOUSE_info.screenY = ev->globalPosition().y();
      |                              ^~~~~~~~~~~~~~
      |                              globalPos
make[5]: *** [Makefile:848: gb_qt5_la-CWidget.lo] Errore 1
make[5]: uscita dalla directory «/home/gian/gambasdevel/gb.qt5/src»
make[4]: *** [Makefile:1301: all-recursive] Errore 1
make[4]: uscita dalla directory «/home/gian/gambasdevel/gb.qt5/src»
make[3]: *** [Makefile:467: all-recursive] Errore 1
make[3]: uscita dalla directory «/home/gian/gambasdevel/gb.qt5»
make[2]: *** [Makefile:399: all] Errore 2
make[2]: uscita dalla directory «/home/gian/gambasdevel/gb.qt5»
make[1]: *** [Makefile:441: all-recursive] Errore 1
make[1]: uscita dalla directory «/home/gian/gambasdevel»
make: *** [Makefile:382: all] Errore 2

Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210604/2533a727/attachment-0001.htm>


More information about the User mailing list