简体   繁体   中英

How to setup MPI on Qt on Windows

I'm having real trouble setting up MPI with and existing Qt project. I've added the openMPI include and lib directories to the .pro file, but I'm not sure what else to do to get it running.

Any ideas would be helpful, thanks.

(edit)

my includepath in the .pro file:

    INCLUDEPATH+=C:\\opencv\\build\\install\\include \
       C:\Program Files (x86)\OpenMPI_v1.6.2-win32\include\

Turns out I wasn't running qmake (under build->run qmake) so all the .pro edits weren't being recognised! thanks for your help anyway!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM