Hello~ here I come again~
This problem takes place when using Qt+MPI. I want Prcess0 to display the windows, while other processes just wait for command (RMI of VTK) in an event loop.
Now I'm solving it in this way: all processes had a Qt Mainwindow in main.cpp, and only Process0 shows it. The disadvantage is that all nodes of the cluster have to start X-window system. So I just wonder what's the easiest way of setting an event loop. BTW, I hope it can be used both on Linux & Windows, so a way of standard C++ itself will be nice.
Thanx a lot! Happy Valentine's Day![]()
Bookmarks