How to set permissions in qt/qml linux side ?



  • Hi,
    I creating Qt android app in linux platform in Qt creator. My android kit is "Android_for_armeabi_v7a_GCC_4_9_Qt_5_4_2" in Qt Creator.
    I have permission problems in Android 6 , I can give permissions with -g deploy options in linux commad promp and I can deploy correct device tablet , but when I deploy (to create .apk file ) from Qt creator application gives permissions problems. How can I solve this problems I find how to do this in below link
    https://developer.android.com/training/permissions/requesting.html. We use **import android.support.v4.content.ContextCompat; ** but this line gives an error that contains about not found library. So we were unable to apply this codes how can I solve this problem ?

    Thanks.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.