forked from qt-creator/qt-creator
Fix install .so plugins
Remove the period from the file extension .so because the completeSuffix function of the FilePath class does not return the first period of the extension. Change-Id: Ifd850e54337c399d6440b6ad765c3b23df9ed330 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
committed by
Ludovic Le Brun
parent
fb788dec30
commit
26b2a755a8
@@ -58,7 +58,7 @@ static QStringList libraryNameFilter()
|
||||
static bool hasLibSuffix(const FilePath &path)
|
||||
{
|
||||
return (HostOsInfo::isWindowsHost() && path.endsWith(".dll"))
|
||||
|| (HostOsInfo::isLinuxHost() && path.completeSuffix().startsWith(".so"))
|
||||
|| (HostOsInfo::isLinuxHost() && path.completeSuffix().startsWith("so"))
|
||||
|| (HostOsInfo::isMacHost() && path.endsWith(".dylib"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user