|
Multi diag tools
|
Common base class for command line tools provided by Qt (lconvert, ..) More...
#include <QtToolExecutableWrapper.h>
Inheritance diagram for Mdt::DeployUtils::QtToolExecutableWrapper:
Collaboration diagram for Mdt::DeployUtils::QtToolExecutableWrapper:Public Member Functions | |
| QtToolExecutableWrapper (QObject *parent=nullptr) | |
| Constructor. | |
| bool | findQtBinPath (const Mdt::FileSystem::PathList &pathPrefixList) |
| Find the root directory of Qt bin. More... | |
| QString | qtBinPath () const |
| Get Qt bin path. 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. | |
Common base class for command line tools provided by Qt (lconvert, ..)
Definition at line 33 of file QtToolExecutableWrapper.h.
| bool Mdt::DeployUtils::QtToolExecutableWrapper::findQtBinPath | ( | const Mdt::FileSystem::PathList & | pathPrefixList | ) |
Find the root directory of Qt bin.
For a given path prefix, a subdirectory, named bin, will be located in known subdirectories, like bin or qt5/bin .
Searching will be done in prefixes defined in pathPrefixList . If Qt bin could not be found in pathPrefixList , or pathPrefixList is empty, false returned, and qtBinPath() returns a empty string.
Definition at line 37 of file QtToolExecutableWrapper.cpp.
|
inline |
Get Qt bin path.
Returns the path found by findQtBinPath() . Can also return a empty string, which means:
Definition at line 67 of file QtToolExecutableWrapper.h.
1.8.11