1. If I seach for documentation on qrand it says there isn't any. (Type qrand in the search box - top left - on this page: http://doc.qt.nokia.com/4.7). Yet there is some on this page:
http://doc.qt.nokia.com/4.7/qtglobal.html
Is this a defect on the documentation pages? If so where should I report it?
2. In the example application:
http://doc.qt.nokia.com/latest/threa...ustomtype.html
the random seed is set in main() using:
QTime::currentTime().elapsed();
but this is always 0 when I run on windows. Having looked at the documentation I can't see why this is always zero unless the framework calls start() during booting an application - if it does then this example needs changing to use a better seed.
3. In the same example the seed is set in the main thread, but the random numbers are generated in a 2nd thread. This 2nd thread is stop and started many times when running the application - each time it is started the same set of random numbers are generated. Thus this example application needs to set the seed in the 2nd thread not the main thread.