Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.1
-
None
-
Windows 10, CMake
-
-
60f782123 (dev), 440dcaca2 (6.9), 29a793f3f (6.8)
-
2024wk50s3FOQtforAndroid
Description
When providing and using a custom build.gradle and setting a static namespace string, androiddeployqt will retrieve the namespace string including the surrounding quotation marks. This leads to androiddeployqt complaining about a package name including illegal characters and modifying it.
Note that this only happens with a static string. Using the default "androidPackageName" variable does not exhibit this issue.
A demo project is attached, as well as screenshots of modifications I made to androiddeployqt to diagnose this and the results.
Attachments
For Gerrit Dashboard: QTBUG-132150 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
611533,3 | Android: handle quotes in hard-coded namespace in build.gradle | dev | qt/qtbase | Status: MERGED | +2 | 0 |
611640,2 | Android: handle quotes in hard-coded namespace in build.gradle | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |
611682,2 | Android: handle quotes in hard-coded namespace in build.gradle | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |