Maybe, I misunsterstood what you want but... Since the manual tells:
what about subclassing QThread and pass and int value in the constructor and call THAT value you threadId? After all you can safely use an int getId() function that returns that integer..Warning: The handle returned by this function is used for internal purposes and should not be used in any application code. On Windows, the returned value is a pseudo-handle for the current thread that cannot be used for numerical comparison.
Ok, maybe everybody already thought about this but I had to try...![]()
Bookmarks