fstl-app / fstl

A fast STL file viewer
449 stars 105 forks source link

Fix several Qt deprecation warnings #67

Closed sur5r closed 3 years ago

sur5r commented 3 years ago

QString::null, QWheelEvent::pos and QWheelEvent::delta are deprecated.

sur5r commented 3 years ago

Additional note: QWheelEvent::position() requires at least Qt 5.14. It might be wise to add a Qt version check to the cmake configuration.

DeveloperPaul123 commented 3 years ago

Looks good to me thanks for the changes.

Lenbok commented 2 years ago

This commit breaks the ability to build fstl on Ubuntu 20.04 LTS, since only Qt 5.12 is available there.