Re: [Interest] Android: build:gradle plugin: adjust version depending on Qt version

2024-02-20 Thread Niels Mayer
I've solved this class of problem by having multiple "android" subdirectories, which are selected based on Qt version. This allows for multiple AndroidManifest files to handle version-based changes, such as adding androidx.core.content.FileProvider for Qt6.6 and beyond to handle the android-native

[Interest] Android: build:gradle plugin: adjust version depending on Qt version

2024-01-05 Thread Alexander Dyagilev
Hello, My project released using Qt 6.4.3. In its build.gradle I have this: classpath 'com.android.tools.build:gradle:7.2.1' But if I try to compile using Qt 6.6.1, I get a lot of errors. To fix them, I need to change version to 7.4.1. Then it works fine. But... I can't build using Qt 6.4.3. Is