Menu

#46 warning: 'delta' is deprecated: Use angleDelta()

v1.0_(example)
pending
nobody
None
1
2021-12-09
2021-12-08
Anonymous
No
/disk-samsung/freebsd-ports/math/mathgl/work/mathgl-2.5/widgets/qt.cpp:668:29: warning: 'delta' is deprecated: Use angleDelta() [-Wdeprecated-declarations]
                mreal d,c,f=exp(0.001*ev->delta())/2;
                                          ^
/usr/local/include/qt5/QtGui/qevent.h:218:5: note: 'delta' has been explicitly marked deprecated here
    QT_DEPRECATED_VERSION_X_5_15("Use angleDelta()")
    ^

Discussion

  • Anonymous

    Anonymous - 2021-12-08
    Post awaiting moderation.
  • Alexey Balakin

    Alexey Balakin - 2021-12-09
    • status: open --> pending
     
  • Alexey Balakin

    Alexey Balakin - 2021-12-09

    There are a number of deprecated functions in new Qt5 version. To use new version of Qt5 it I need to exclude Qt4 interface effectively. This will be done in v.2.5.1 by somehow.

     

Anonymous
Anonymous

Add attachments
Cancel