|
Multi diag tools
|
Wraps a patchelf executable. More...
#include <PatchelfWrapper.h>
Inheritance diagram for Mdt::DeployUtils::PatchelfWrapper:
Collaboration diagram for Mdt::DeployUtils::PatchelfWrapper:Public Member Functions | |
| PatchelfWrapper (QObject *parent=nullptr) | |
| Constructor. | |
| bool | execReadRPath (const QString &binaryFilePath) |
| Execute the command to read RPATH. More... | |
| bool | execWriteRPath (const QString &rpath, const QString &binaryFilePath) |
| Execute the command to write RPATH. More... | |
Public Member Functions inherited from Mdt::DeployUtils::ToolExecutableWrapper | |
| ToolExecutableWrapper (QObject *parent=nullptr) | |
| Constructor. | |
| QString | readAllStandardOutputString () |
| Returns all data available from standard output of the channel as string. | |
| QString | readAllStandardErrorString () |
| Returns all data available from standard error of the channel as string. | |
| Mdt::Error | lastError () const |
| Get last error. | |
Additional Inherited Members | |
Protected Member Functions inherited from Mdt::DeployUtils::ToolExecutableWrapper | |
| bool | exec (const QString &exeName, const QStringList &arguments) |
| Execute a command. | |
| QProcess::ProcessError | lastProcessError () const |
| Returns last error from process. | |
| QStringList | processArguments () const |
| Get process arguments. | |
| void | setLastError (const Mdt::Error &error) |
| Set last error. | |
Wraps a patchelf executable.
This is a low level wrapper around patchelf tool. Applications should use RPath .
Definition at line 36 of file PatchelfWrapper.h.
| bool Mdt::DeployUtils::PatchelfWrapper::execReadRPath | ( | const QString & | binaryFilePath | ) |
Execute the command to read RPATH.
| binaryFilePath | Path to a executable or a library |
Definition at line 30 of file PatchelfWrapper.cpp.
| bool Mdt::DeployUtils::PatchelfWrapper::execWriteRPath | ( | const QString & | rpath, |
| const QString & | binaryFilePath | ||
| ) |
Execute the command to write RPATH.
| rpath | RPATH string to pass to patchelf |
| binaryFilePath | Path to a executable or a library |
Definition at line 35 of file PatchelfWrapper.cpp.
1.8.11