Ticket #7018: mpv

File mpv, 749 bytes (added by Michael Reuter, 7 years ago)

Script for using Mantid plugins in ParaView

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