Skip to content

Commit a1a4923

Browse files
committed
Exclude /usr/local from being detected as "Distribution Qt"
/usr/local is the canonical place to put self built applications and libraries so it should be exlucded from the logic to detect distribution shipped Qt.
1 parent ac9e9db commit a1a4923

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/shared.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ DeploymentInfo deployQtLibraries(const QString &appDirPath, const QStringList &a
810810
setenv("LD_LIBRARY_PATH",newPath.toUtf8().constData(),1);
811811
}
812812

813-
if(qtLibsPath.startsWith("/usr/")){
813+
if(qtLibsPath.startsWith("/usr/") && !qtLibsPath.startsWith("/usr/local")){
814814
LogError() << "Bundling Qt provided by distributions is not yet supported by this tool.";
815815
LogError() << "Please see https://github.com/probonopd/linuxdeployqt/issues/79 and";
816816
LogError() << "submit a Pull Request to implement this.";

0 commit comments

Comments
 (0)