By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This will generate a warning with something like -Wall -Wextra, and the build will then fail if -Werror is set. Not sure how many projects use these, but it will break my travis ci builds on macos as soon as new qt version becomes available there.

I'll try to make a PR to fix the issue today. However, QRandomGenerator was introduced in Qt 5.10, and Ubuntu 18.04 LTS still uses Qt 5.9, so I'm afraid that I'll have to use Qt version checking macros to support old and new style.