Android: Fix build before Qt6.5

Change-Id: Ie2b674edcbd12a9c10ca1875d96da50e02914fe8
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Christian Stenger
2024-05-30 15:01:43 +02:00
parent fcadc9a2b2
commit fb2a1ecd37

View File

@@ -114,8 +114,9 @@ QString packageName(const Target *target)
QSettings::IniFormat);
packageName = gradleProperties.value("androidPackageName").toString();
} else {
// Remote quotes
packageName = packageName.removeFirst().removeLast();
// Remove quotes
if (packageName.size() > 2)
packageName = packageName.remove(0, 1).chopped(1);
}
break;