Qt Forum

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

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Is it possible to stream local file using QML ?

    QML and Qt Quick
    3
    5
    2306
    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.
    • S
      Sparkle24 last edited by

      Is it possible to stream local file using QML ?
      I don't wanna use C++. Is it possible in QML or JS ?

      1 Reply Last reply Reply Quote 0
      • M
        mlong last edited by

        What do you mean by "stream local file?" From where to where?

        Software Engineer
        My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

        1 Reply Last reply Reply Quote 0
        • S
          Sparkle24 last edited by

          Thanks for reply..
          I'm talking about to stream offline storage file... like C++ <fstream>... I wanna develop a NOTES application for symbian which can store notes with .txt file extension. Is it possible in QML ?

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

            QML/javascript has no file i/o, other than the sql offline storage API.
            You probably will have to use C++.

            If the .txt isn't critical, try the SQL Offline Storage API in http://doc.qt.nokia.com/4.7-snapshot/qdeclarativeglobalobject.html

            QtQuick Quality Engineer / Lab Monkey
            Nokia Brisbane

            1 Reply Last reply Reply Quote 0
            • S
              Sparkle24 last edited by

              Thank u Damian...
              It's almost helpful.

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