Hi,

I’m trying to port an application to Cmake in Qt for Android.

I’m not able to set the package name. I set it in QtCreator, it gets modified 
in AndroidManifest.xml but then, when AndroidManifest.xml is copied to the 
build, it has a different value and I have warning from gradle:

Value set in QtCreator: com.imaginando.drc

package="org.qtproject.example.drc" found in source AndroidManifest.xml: 
/private/tmp/drc/build/Android_Qt_6_8_0_Clang_arm64_v8a-Debug/android-build-drc/AndroidManifest.xml.
Setting the namespace via the package attribute in the source 
AndroidManifest.xml is no longer supported, and the value is ignored.
Recommendation: remove package="org.qtproject.example.drc" from the source 
AndroidManifest.xml: 
/private/tmp/drc/build/Android_Qt_6_8_0_Clang_arm64_v8a-Debug/android-build-drc/AndroidManifest.xml.

I’ve tried to set it build.gradle as it is below without success:

android {
    namespace “com.imaginando.drc"

Any ideas on how to workaround this or what is the best practice?

Thanks!

Nuno


_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to