You might want to search through the bug tracker if such an issue is already known. If not, you can create one. Maybe even send in a patch or merge request.
You might want to search through the bug tracker if such an issue is already known. If not, you can create one. Maybe even send in a patch or merge request.
Horse sense is the thing that keeps horses from betting on people. --W.C. Fields
Ask Smart Questions
It seems QtGlobal is not added in online documentation's search tool.
here is the link to report bug:
http://bugreports.qt.nokia.com/secure/Dashboard.jspa
it reqs login.
bala
def (26th November 2010)
Thanks. I've posted two defects about this now:
http://bugreports.qt.nokia.com/browse/QTWEBSITE-109
http://bugreports.qt.nokia.com/browse/QTWEBSITE-110
Added after 7 minutes:
In responce to franz comment:
> Maybe even send in a patch or merge request.
If I were to patch the example then I would need to be absolutely sure I was right. And currently:
- I'm not absolutely sure what this:
QTime::currentTime().elapsed()
should return in the example program - it is always returning 0, but the defect could be in this function which for all I know should be returning something different.
- I've not found anything in the documentation which says that each thread is independant from the point of view of random number generation or not. Thus I could move the seed setting into the 2nd thread and submit that as a code change, but it maybe that it is the wrong thing to do.
Last edited by def; 26th November 2010 at 10:12.
Bookmarks