Does Qt support OpenMP?

后端 未结 4 1558
醉酒成梦
醉酒成梦 2021-02-08 23:31

I am using OpenMP in my Visual Studio projects and currently thinking very seriously in changing to QT creator. (Doesn\'t Visual Studio suck?,I expect much more from Microsoft)<

4条回答
  •  心在旅途
    2021-02-09 00:12

    In addition to esavard's answer, I found that I needed to add:

    LIBS += -fopenmp

    for the program to link properly. I'm running QT creator 2.0.1 with QT 4.7.0 on Ubuntu 10.10 (64 bit). Hope this helps anyone else running into the "undefined reference to 'GOMP_parallel_start'" type errors.

提交回复
热议问题