|
Multi diag tools
|
Some utilities for application deployment. More...
Classes | |
| class | BinaryDependencies |
| Find dependencies for a executable or a library. More... | |
| class | BinaryDependenciesLdd |
| Binary dependencies ldd implementation. More... | |
| class | BinaryDependenciesObjdump |
| Binary dependencies objdump implementation. More... | |
| class | BinaryFormat |
| Read the format of a executable or a library. More... | |
| class | Console |
| Display messages to the console. More... | |
| class | ConsoleStream |
| Used to implement Console. More... | |
| class | FileCopier |
| Provides utilities for files and directories manipulation. More... | |
| class | LconvertWrapper |
| Wraps a lconvert command line tool. More... | |
| class | LddDependenciesParser |
| Ldd dependencies parser. More... | |
| class | LddWrapper |
| Wrapps a ldd executable. More... | |
| class | Library |
| Provides some helper methods for libraries. More... | |
| class | LibraryInfo |
| Data value class that stores informations about a library. More... | |
| class | LibraryInfoList |
| Container that holds a list of LibraryInfo. More... | |
| class | LibraryName |
| Representation of a shared library name. More... | |
| class | LibraryTree |
| LibraryTree is a tree that contains library names. More... | |
| class | LibraryTreeNode |
| Node identifier used in LibraryTree. More... | |
| class | LibraryVersion |
| Representation of a version of a library. More... | |
| class | MdtLibrary |
| MdtLibrary offers some utilities specific to Mdt libraries. More... | |
| class | ObjdumpBinaryFormatParser |
| Objdump binary format parser. More... | |
| class | ObjdumpDependenciesParser |
| Objdump dependencies parser. More... | |
| class | ObjdumpWrapper |
| Wrapps a objdump executable. More... | |
| class | PatchelfWrapper |
| Wraps a patchelf executable. More... | |
| class | Platform |
| Definition of a platform. More... | |
| class | QtLibrary |
| QtLibrary offers some utilities specific to Qt libraries. More... | |
| class | QtModuleList |
| List of QtModule. More... | |
| class | QtPluginInfo |
| Data value class that stores informations about a Qt plugin. More... | |
| class | QtPluginInfoList |
| Container that holds a list of QtPluginInfo. More... | |
| class | QtToolExecutableWrapper |
| Common base class for command line tools provided by Qt (lconvert, ..) More... | |
| class | RPath |
| Utility class to get and set RPATH of executables and shared libraries that support it. More... | |
| class | RPathInfo |
| Holds informations about a RPATH. More... | |
| class | RPathInfoList |
| Hold a list of RPathInfo. More... | |
| class | ToolExecutableWrapper |
| Common base class for command line tools (ldd, objdump, ...) More... | |
| class | Translation |
| Utilities to handle translations. More... | |
Enumerations |
Functions | |
| Mdt::Expected< TranslationInfoList > | findQtTranslations (QtModuleList qtModules, const QStringList &languageSuffixes, const Mdt::FileSystem::PathList &pathPrefixList) |
| Find translations for a Qt library. More... | |
| QStringList | getQmFileBaseNameListForQtModule (QtModule qtModule) |
| Get a list of QM file base names for a Qt module. | |
| QStringList | getQmFileBaseNameListForQtModules (const QtModuleList &qtModules) |
| Get a list of QM file base names for a list of Qt modules. | |
| QString | findQtTranslationsRoot (const Mdt::FileSystem::PathList &pathPrefixList) |
| Find the root directory of Qt translations. More... | |
| Expected< TranslationInfoList > | findMdtTranslations (const LibraryInfoList &mdtLibraries, const QStringList &languageSuffixes, const Mdt::FileSystem::PathList &pathPrefixList) |
| Find translations for a Mdt library. More... | |
| QString | findMdtTranslationsRoot (const Mdt::FileSystem::PathList &pathPrefixList) |
| Find the root directory of Mdt translations. More... | |
| QStringList | getQmFileNameList (const QString &qmFileBaseName, const QStringList &languageSuffixes) |
| Generate a list of QM file names. | |
| QStringList | getQmFileNameList (const QStringList &qmFileBaseNames, const QStringList &languageSuffixes) |
| Generate a list of QM file names. | |
| Mdt::Expected< TranslationInfoList > | findTranslationsInDirectory (const QStringList &qmFileNames, const QString &directoryPath) |
| Find translations in a directory. | |
Some utilities for application deployment.
|
strong |
|
strong |
OS enum.
| Enumerator | |
|---|---|
| Unknown |
Unknown OS |
| Linux |
Linux OS |
| Windows |
Windows OS |
Definition at line 30 of file OperatingSystem.h.
|
strong |
Processor enum.
| Enumerator | |
|---|---|
| X86_32 |
X86 32 bit processor |
| X86_64 |
X86 64 bit processor |
Definition at line 30 of file Processor.h.
|
strong |
Enumeration of known Qt modules.
Definition at line 30 of file QtModule.h.
| Mdt::Expected< Mdt::Translation::TranslationInfoList > MDT_DEPLOYUTILS_CORE_EXPORT Mdt::DeployUtils::findMdtTranslations | ( | const LibraryInfoList & | mdtLibraries, |
| const QStringList & | languageSuffixes, | ||
| const Mdt::FileSystem::PathList & | pathPrefixList | ||
| ) |
Find translations for a Mdt library.
Translations are searched in directories defined using findMdtTranslationsRoot().
Find translations for a list of Mdt libraries
Translations are searched in directories defined using findMdtTranslationsRoot().
Definition at line 151 of file FindTranslation.cpp.
| QString MDT_DEPLOYUTILS_CORE_EXPORT Mdt::DeployUtils::findMdtTranslationsRoot | ( | const Mdt::FileSystem::PathList & | pathPrefixList | ) |
Find the root directory of Mdt translations.
For a given path prefix, a subdirectory, named translations, will be located in known subdirectories, like translations .
If pathPrefixList contains at least 1 non empty path, translations directory will only be located starting from prefixes in it. Else, system path prefixes will be used.
Definition at line 166 of file FindTranslation.cpp.
| Mdt::Expected< Mdt::Translation::TranslationInfoList > MDT_DEPLOYUTILS_CORE_EXPORT Mdt::DeployUtils::findQtTranslations | ( | QtModuleList | qtModules, |
| const QStringList & | languageSuffixes, | ||
| const Mdt::FileSystem::PathList & | pathPrefixList | ||
| ) |
Find translations for a Qt library.
Translations are searched in directories defined using findQtTranslationsRoot().
Find translations for a list of Qt libraries
Translations are searched in directories defined using findQtTranslationsRoot().
Definition at line 59 of file FindTranslation.cpp.
| QString MDT_DEPLOYUTILS_CORE_EXPORT Mdt::DeployUtils::findQtTranslationsRoot | ( | const Mdt::FileSystem::PathList & | pathPrefixList | ) |
Find the root directory of Qt translations.
For a given path prefix, a subdirectory, named translations, will be located in known subdirectories, like translations or qt5/translations .
If pathPrefixList contains at least 1 non empty path, translations directory will only be located starting from prefixes in it. Else, system path prefixes will be used.
Definition at line 131 of file FindTranslation.cpp.
1.8.11