QUItCoding / qnanopainter

Library for implementing OpenGL accelerated Qt (Quick) C++ UI components.
http://quitcoding.com
Other
405 stars 79 forks source link

Compile and run with Qt6.0.0-beta & eliminate associated Qt5.15 deprecation #58

Closed NielsMayer closed 4 years ago

NielsMayer commented 4 years ago

After updating to Qt6.0.0 beta ( https://www.qt.io/blog/qt-6.0-beta-released ), additional compilation errors were present. This pull request fixes those errors.

Additionally, a small change in applying my qrand() fix from my previously applied Qt6.0.0-alpha pull request eliminates an associated deprecation warning seen when compiling with Qt5.15, by applying the change beginning 5.15, instead of 6.0.

QUItCoding commented 4 years ago

Looks good, thanks!