Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. No native FileDialog implementation available
Forum Updated to NodeBB v4.3 + New Features

No native FileDialog implementation available

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 3 Posters 1.8k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    md612
    wrote on last edited by
    #1

    I am developing an app on android platform. I used QML to develop the app. My app used folderdialog to select a folder. It works well in desktop mode. However, it cannot even open a folder after deploying on android.

    "ERROR: No native FileDialog implementation available " is shown in the debug monitor.

    Is that a bug for the QT for android?

    And I now don't know what I can do for the missing native component.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      You can use the non-native dialog (the Qt dialog), although it is actually horrible. I'd rather recommend implementing your own GUI for the file dialog.

      And also, remember to acquire necessary permissions, otherwise Android won't allow you to access any folders or files apart from internal app storage.

      (Z(:^

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Which version of Qt are you using ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • M Offline
          M Offline
          md612
          wrote on last edited by
          #4

          I am using QT 5.9.3. And I am just a newbie of using QML. Hence, I don't know much about how to create my own GUI for the dialog. Please give some hints to me.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            You should take a look at @benlau's QuickAndroid project.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved