add include guards
add qt project file for the example
example: use platform independent static method QThread::currentThreadId()