Android Manifest Packagename as variable in .pro ?
would it be possible inside Android Manifest to use a variable as package name ?
this variable should be set in .pro and also be available from external tools.
reason: Android for Work apps need to be started using a specific user
adb shell am start --user 10 -n my.package.name/org.qtproject.qt5.android.bindings.QtActivity
I want to run this command from external tools with android package name as parameter,
so I got the idea to define the package in .pro and to use from tools and Android Manifest
thx for tips - never did such kind of stuff before
BTW: will blog in detail HowTo debug and run apps on devices managed by AndroidForWork
Schluchti last edited by
Don't know if that's what you are looking for, but maybe it helps you: https://gympulsr.com/blog/qt/2017/03/02/multiple-versions-with-qt.html
@Schluchti thx. have to think about.
@Schluchti have created a bugreports and referenced your blog post
@ekkescorner blogged about Qt and managed Android Devices: https://appbus.wordpress.com/2017/03/15/overview-managed-android-devices/
also opened Bugreport to get the User ID in .pro: https://bugreports.qt.io/browse/QTCREATORBUG-17862