Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for WebAssembly
  4. Export *.xlsx or *.ods in Qt WebAssembly
Forum Updated to NodeBB v4.3 + New Features

Export *.xlsx or *.ods in Qt WebAssembly

Scheduled Pinned Locked Moved Unsolved Qt for WebAssembly
7 Posts 5 Posters 1.5k 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.
  • oria66O Offline
    oria66O Offline
    oria66
    wrote on last edited by
    #1

    Hi everyone. Is there any tested library in Qt for Webassembly to export *.xlsx or *.ods?

    The truth is out there

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      As far as i know, there is no file access so not sure its possible to save it.

      JonBJ 1 Reply Last reply
      0
      • mrjjM mrjj

        Hi
        As far as i know, there is no file access so not sure its possible to save it.

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #3

        @mrjj
        I think there is file access, to a temporary file store area. Whether it's any use to anyone is a different matter.

        mrjjM 1 Reply Last reply
        1
        • JonBJ JonB

          @mrjj
          I think there is file access, to a temporary file store area. Whether it's any use to anyone is a different matter.

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @JonB
          well hopefully lorn.potter will come around and educate us :)

          1 Reply Last reply
          2
          • lorn.potterL Offline
            lorn.potterL Offline
            lorn.potter
            wrote on last edited by
            #5

            There is file access, both locally and for the system.

            Since WebAssembly lives in the browsers javascript sandbox, to access file content on the system, outside of the browser, we created

            QFileDialog::getOpenFileContent and QFileDialog::saveFileContent

            https://doc.qt.io/qt-5/qfiledialog.html#getOpenFileContent

            Also, there should be persistent files, but it's a bit broken at the moment in all the releases.

            Freelance Software Engineer, Platform Maintainer QtWebAssembly, Maintainer QtSensors
            Author, Hands-On Mobile and Embedded Development with Qt 5 http://bit.ly/HandsOnMobileEmbedded

            1 Reply Last reply
            4
            • G Offline
              G Offline
              Gary_C
              wrote on last edited by
              #6
              This post is deleted!
              1 Reply Last reply
              0
              • G Offline
                G Offline
                Gary_C
                wrote on last edited by Gary_C
                #7
                This post is deleted!
                1 Reply Last reply
                0

                • Login

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