Skip to content
Dane Gardner edited this page Dec 9, 2013 · 5 revisions

Dependencies

  • Qt4/Qt4-devel
  • make, gcc/g++, git, etc.
  • PTGF

Building

These directions are for building the QCustomPlot plugins for the PTGF in a CentOS 6 installation using Bash. This should work for other environments, if one adjusts for the shell or distribution differences. If you need assistance, please contact Dane Gardner.

#!/bin/bash
export INSTALL_ROOT=/opt/ptgf
mkdir -p $INSTALL_ROOT
git clone https://github.com/PTGF/QCustomPlot.git qcp
pushd qcp/src/
qmake-qt4 -r PTGF_INSTALLROOT=$INSTALL_ROOT && make && make install
popd
LD_LIBRARY_PATH=$INSTALL_ROOT/lib:$LD_LIBRARY_PATH $INSTALL_ROOT/bin/PTGF

Environment Variables

INSTALL_ROOT
Installation path; only effective during `make install` command.
PTGF_INSTALLROOT
Used during `qmake` build process. See Build section (above) for example usage.
PTGF_PLUGINPATH
A separated values list of temporary plugin search paths.

Troubleshooting

As always, please check the issue tracker to verify there isn't an existing bug that needs fixing after reading through the below solutions to common problems.


Problem
I'm unable to get the QCustomPlot plugins to load, but everything else loads just fine.
Cause
You installed the plugins in a separate path from the main PTGF plugins.
Solution
Navigate to `Help >> Plugins` to ensure that at least some of the plugins have been loaded. If nothing has been loaded, see the [PTGF Wiki](https://github.com/PTGF/PTGF/wiki)'s Troubleshooting section. Navigate to `Tools >> Settings >> Plugins >> Plugin Path`, and add the second path using a separating character. `:` on Linux machines; `;` for Windows. Restart the application.
***
Clone this wiki locally