简体   繁体   English

如何在Windows上的Qt上设置MPI

[英]How to setup MPI on Qt on Windows

I'm having real trouble setting up MPI with and existing Qt project. 我在使用现有的Qt项目设置MPI时遇到了麻烦。 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. 我已经将openMPI include和lib目录添加到.pro文件中,但我不知道还有什么可以让它运行。

Any ideas would be helpful, thanks. 任何想法都会有所帮助,谢谢。

(edit) (编辑)

my includepath in the .pro file: 我在.pro文件中的includepath:

    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! 事实证明我没有运行qmake(在build-> run qmake下)所以所有.pro编辑都没有被识别! thanks for your help anyway! 还是要谢谢你的帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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