does know how change meta-data values qt project android deploy. need set background_running true. can manually, , works, next times change code, value reset false.
anyone know how edit these values qt project value persists between code changes?
<!-- background running --> <!-- warning: changing value true may cause unexpected crashes if application still try draw after "applicationstatechanged(qt::applicationsuspended)" signal sent! --> <meta-data android:name="android.app.background_running" android:value="false"/>
i figured out.
from qt creator, go projects -> android build options -> details on build android apk
click create templates, ensure gradle selected, can edit template androidmanifest.xml , set option true. future builds use androidmanifest.xml. can extend qtactivity editing manifest.
Comments
Post a Comment