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.
  • O Offline
    O Offline
    oria66
    wrote on 15 Jul 2020, 17:35 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
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 15 Jul 2020, 18:47 last edited by
      #2

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

      J 1 Reply Last reply 15 Jul 2020, 19:20
      0
      • M mrjj
        15 Jul 2020, 18:47

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

        J Offline
        J Offline
        JonB
        wrote on 15 Jul 2020, 19:20 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.

        M 1 Reply Last reply 15 Jul 2020, 19:23
        1
        • J JonB
          15 Jul 2020, 19:20

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

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 15 Jul 2020, 19:23 last edited by
          #4

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

          1 Reply Last reply
          2
          • L Offline
            L Offline
            lorn.potter
            wrote on 22 Jul 2020, 20:59 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 13 Apr 2023, 08:40 last edited by
              #6
              This post is deleted!
              1 Reply Last reply
              0
              • G Offline
                G Offline
                Gary_C
                wrote on 18 Apr 2023, 07:48 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