GammaRay API Documentaion
2.5.0
|
Methods to determine install locations of the various bits of GammaRay. More...
Functions | |
QString | binPath () |
QString | currentPluginsPath () |
QString | currentProbePath () |
QString | documentationPath () |
QString | libexecPath () |
QString | libraryExtension () |
QString | pluginExtension () |
QString | probePath (const QString &probeABI, const QString &rootPath=Paths::rootPath()) |
QString | rootPath () |
void | setRelativeRootPath (const char *relativeRootPath) |
void | setRootPath (const QString &rootPath) |
Methods to determine install locations of the various bits of GammaRay.
QString GammaRay::Paths::binPath | ( | ) |
Returns the path containing the GammaRay injector executable.
QString GammaRay::Paths::currentPluginsPath | ( | ) |
Returns the path to the current plugins location. This is the same as currentProbePath() when using the GammaRay installation layout, but differs with e.g. the Android installation layout.
QString GammaRay::Paths::currentProbePath | ( | ) |
Returns the path to the current probe location, probePath(GAMMARAY_PROBE_ABI).
QString GammaRay::Paths::documentationPath | ( | ) |
Path to the installed .qch/.qhc documentation files.
QString GammaRay::Paths::libexecPath | ( | ) |
Returns the path containing helper executables.
QString GammaRay::Paths::libraryExtension | ( | ) |
Returns the file extension used on the current platform for libraries.
QString GammaRay::Paths::pluginExtension | ( | ) |
Returns the file extension used on the current platform for plugins.
QString GammaRay::Paths::probePath | ( | const QString & | probeABI, |
const QString & | rootPath = Paths::rootPath() |
||
) |
Returns the probe and plugin base path for the given probe ABI. If probeABI
is empty, the path containing the probes is returned.
QString GammaRay::Paths::rootPath | ( | ) |
Absolute path to the root of the GammaRay installation, anything else is relative to this.
void GammaRay::Paths::setRelativeRootPath | ( | const char * | relativeRootPath | ) |
Convenience version of the above, for root paths relative to QCoreApplication::applicationDirPath().
void GammaRay::Paths::setRootPath | ( | const QString & | rootPath | ) |
Call this to set the root of the GammaRay install location, as early as possible. The install location is usually determined by using QCoreApplication::applicationDirPath() or the probe path, and the known relative install location of the corresponding component.