As a means to verify which thread my code is actually running under I use QThread::currentThreadId(). However the Qt::HANDLE type that is returned from this function is according to the documentation a platform dependant typedef. On my platform (Linux) it was simply a typedef for void *
(typeless pointer).
So how would I go about printing this using for example qDebug()
, and how about converting it to a QString
?