Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Default path for settings.xml file location in android doesn't work in Android version 6(Marshmallow)



  • In my recent project, I am storing my settings.xml file to the default download path in android mobile. What I found is that it fetches all the data from that file and displays in my application perfectly till android version 5(i.e; till Lollipop). When I try the same thing in Android 6(i.e; Marshmallow), It gives me error saying "Device not open". I don't understand why the same thing is not working in Marshmallow?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    With Marshmallow the permissions have changed and with it access to the SD card. You may have to currently write some native code to get these permissions.



  • Is there a way that I can code or its on QT guys to provide new feature?


  • Lifetime Qt Champion

    There's already a bug report on the subject so you can vote for it. The description of the bugs contains a manual way to make your application work.


Log in to reply