Graphics Reference
In-Depth Information
<file>resources/mActionEditTrack.png</file>
<file>resources/mActionDeleteTrack.svg</file>
<file>resources/mActionGetInfo.svg</file>
<file>resources/mActionSetStartPoint.svg</file>
<file>resources/mActionSetEndPoint.svg</file>
<file>resources/mActionFindShortestPath.svg</file>
</qresource>
</RCC>
Note that we've included various image files that will be used for our toolbar ac-
tions. All these files are in our resources subdirectory. We'll look at how to
obtain these image files shortly.
• The run-lin.sh file should look like this:
#!/bin/sh
export PYTHONPATH="/path/to/qgis/build/output/python/"
export LD_LIBRARY_PATH="/path/to/qgis/build/output/
lib/"
export QGIS_PREFIX="/path/to/qgis/build/output/"
python forestTrails.py
• Similarly, run-mac.sh should contain the following:
export PYTHONPATH="$PYTHONPATH:/Applications/QGIS.app/
Contents/Resources/python"
export DYLD_FRAMEWORK_PATH="/Applications/QGIS.app/
Contents/Frameworks"
export QGIS_PREFIX="/Applications/QGIS.app/Contents/
Resources"
python forestTrails.py
• The run-win.bat file should contain:
SET OSGEO4W_ROOT=C:\OSGeo4W
SET QGIS_PREFIX=%OSGEO4W_ROOT%\apps\qgis
SET PATH=%PATH%;%QGIS_PREFIX%\bin
SET PYTHONPATH=%QGIS_PREFIX%\python;%PYTHONPATH%
python forestTrails.py
Search WWH ::




Custom Search