diff --git a/src/Deploy/src/deploycore.cpp b/src/Deploy/src/deploycore.cpp
index d84ad66..273f20a 100644
--- a/src/Deploy/src/deploycore.cpp
+++ b/src/Deploy/src/deploycore.cpp
@@ -1106,7 +1106,7 @@ int DeployCore::qtVersionToString(QtMajorVersion qtVersion) {
 }
 
 bool DeployCore::isDebianQt(const QString &qtRoot) {
-    return qtRoot.contains("/usr/lib/qt") || qtRoot.contains("/usr/bin");
+    return qtRoot.contains("/usr/lib/") || qtRoot.contains("/usr/bin");
 }
 
 QString DeployCore::systemLibsFolderName() {