Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

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

Use QRandomGenerator instead of qrand when building against Qt >= 5.10 #39

Closed
d1vanov opened this issue Jun 7, 2020 · 0 comments
Closed

Comments

@d1vanov
Copy link
Owner

d1vanov commented Jun 7, 2020

qrand has been deprecated since Qt 5.10, QRandomGenerator should be used instead. Need to change the source code in OAuth.cpp accordingly and update README which currently says that client applications need to call qsrand before using the library. It seems it would not be needed after the migration to QRandomGenerator.

@d1vanov d1vanov added the task label Jun 7, 2020
@d1vanov d1vanov self-assigned this Jun 7, 2020
d1vanov added a commit that referenced this issue Jun 7, 2020
…rator-instead-of-qrand

Issue #39: use qrandomgenerator instead of qrand with Qt >= 5.10
@d1vanov d1vanov closed this as completed Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant