This is demonstrated by running the test in tests/auto/corelib/global/qrand/. This will verify that qrand() with no explicit seed will generate the same sequence as with qsrand(1) by generating X numbers, then doing qsrand(1), then generating X numbers and verifying that they are the same.
However, qsrand() has no effect, so the subsequent X numbers are just the numbers following the first X in the srand(1) sequence.
|For Gerrit Dashboard: QTBUG-32781|
|62151,1||Enable qsrand() on builds without thread-safe posix||release||qt/qtbase||Status: MERGED||+2||0|