Am Freitag, 26. Februar 2016, 20:00:40 CET schrieb ravi kumar verma: > Hi, > are qt a wrapper over (posix thread in unix) and (win32 threads on windows)?
Yes. > Moreover , How do we port a Qt code from one platform to another ? > for eg . from windows to linux . You can take qthread_unix.cpp or qthread_win.cpp and make a new qthread_xxx.cpp that wraps the thread on your platform. For example, if your platform supports C++11 thread, you could make qthread_cxx11.cpp which wraps std::thread. And long term we could use it on every platform, just like we did for qatomic. -- Olivier Woboq - Qt services and support - https://woboq.com - https://code.woboq.org _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
