Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Http files+qml

    QML and Qt Quick
    2
    2
    1195
    Loading More Posts
    • 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.
    • E
      engrehabhegazy last edited by

      hello everyone
      i wonder how could i download file and save it on mobile phone memory using qml?

      Rehab Hegazy

      1 Reply Last reply Reply Quote 0
      • D
        dridk last edited by

        Hello,

        You cannot manage file with Javascript. So, You should use C++ side!
        Create a custom class using QNetworkAccessManager, and then call get() to download your files.

        Note:
        If you want to show pictures, you can directly use :
        @Image {
        source:"http://www.ddgd.gr/photo.png"
        }@

        Nothing in Biology Makes Sense Except in the Light of Evolution

        1 Reply Last reply Reply Quote 0
        • First post
          Last post