Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
OpenMP in QT
shrd17 last edited by
I am just wondering why OpenMP function omp_get_num_threads() returns only 1 Thread. We use in our company OpenMP which comes with Visual Studio 2013 together with Qt 5.6. Has any body an idea?
Well, it depends, how do you start your program? Do you call
omp_set_num_threads? And by the way, why not use Qt's own threading technology so you could drop the dependency on OpenMP?