Browse Source
Deploy positioning plugins if QtPositioning library is deployed, #287
master
probonopd
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
8 additions and
0 deletions
-
tools/linuxdeployqt/shared.cpp
|
|
@ -1260,6 +1260,14 @@ void deployPlugins(const AppDirInfo &appDirInfo, const QString &pluginSourcePath |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// Positioning plugins if QtPositioning library is in use
|
|
|
|
if (containsHowOften(deploymentInfo.deployedLibraries, "libQt5Positioning")) { |
|
|
|
QStringList posPlugins = QDir(pluginSourcePath + QStringLiteral("/position")).entryList(QStringList() << QStringLiteral("*.so")); |
|
|
|
foreach (const QString &plugin, posPlugins) { |
|
|
|
pluginList.append(QStringLiteral("position/") + plugin); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// multimedia plugins if QtMultimedia library is in use
|
|
|
|
if (containsHowOften(deploymentInfo.deployedLibraries, "libQt5Multimedia")) { |
|
|
|
QStringList plugins = QDir(pluginSourcePath + QStringLiteral("/mediaservice")).entryList(QStringList() << QStringLiteral("*.so")); |
|
|
|