|
Multi diag tools
|
Provides some helper methods for libraries. More...
#include <Library.h>
Inherits QObject.
Public Types |
Public Member Functions | |
| Library (QObject *parent=nullptr) | |
| Constructor. | |
| bool | findLibrary (const QString &name, const Mdt::FileSystem::PathList pathList=Mdt::FileSystem::PathList(), SearchInSystemPaths searchInSystemPaths=IncludeSystemPaths) |
| Find a library. More... | |
| LibraryInfo | libraryInfo () const |
| Get library info. More... | |
| Mdt::Error | lastError () const |
| Get last error. | |
| bool Mdt::DeployUtils::Library::findLibrary | ( | const QString & | name, |
| const Mdt::FileSystem::PathList | pathList = Mdt::FileSystem::PathList(), |
||
| Library::SearchInSystemPaths | searchInSystemPaths = IncludeSystemPaths |
||
| ) |
Find a library.
| name | Name of the library. Can be a name without any prefix or suffix (ex: Qt5Core), or a more platform specific name (ex: libQt5Core.so). For platform that supports versions in the library file name, a versionned name can be done (ex: libQt5Core.so.5 , libQt5Core.so.5.6.2) |
| pathList | List of paths where to search the library |
| searchInSystemPaths | Tell if the search must include system paths |
Definition at line 39 of file Library.cpp.
|
inline |
Get library info.
Returns the information of the library after a success call of findLibrary()
1.8.11