| 1 | #!/bin/bash |
|---|
| 2 | |
|---|
| 3 | # Use to debug plugins |
|---|
| 4 | #export PV_PLUGIN_DEBUG=1 |
|---|
| 5 | |
|---|
| 6 | mantid_loc=/Applications/MantidPlot.app |
|---|
| 7 | pv_loc=/Applications/paraview.app |
|---|
| 8 | |
|---|
| 9 | # Need Qt libs brought in for some strange reason |
|---|
| 10 | qt_loc=${mantid_loc}/Contents/Frameworks |
|---|
| 11 | qt3_support=${qt_loc}/Qt3Support.framework/Versions/4/ |
|---|
| 12 | qtcore=${qt_loc}/QtCore.framework/Versions/4/ |
|---|
| 13 | qtgui=${qt_loc}/QtGui.framework/Versions/4/ |
|---|
| 14 | qtopengl=${qt_loc}/QtOpenGL.framework/Versions/4/ |
|---|
| 15 | qtsvg=${qt_loc}/QtSvg.framework/Versions/4/ |
|---|
| 16 | |
|---|
| 17 | qt_libs=${qtcore}:${qtgui}:${qtopengl}:${qt3_support}:${qtsvg} |
|---|
| 18 | |
|---|
| 19 | export MANTIDPATH=${mantid_loc}/Contents/MacOS |
|---|
| 20 | export PV_PLUGIN_PATH=${mantid_loc}/pvplugins/pvplugins |
|---|
| 21 | export DYLD_LIBRARY_PATH=${qt_libs}:${pv_loc}/Contents/Libraries:${MANTIDPATH} |
|---|
| 22 | ${pv_loc}/Contents/MacOS/paraview |
|---|