Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. pass a file object to QWebEngineView
Forum Updated to NodeBB v4.3 + New Features

pass a file object to QWebEngineView

Scheduled Pinned Locked Moved Solved QtWebEngine
3 Posts 2 Posters 977 Views
  • 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 Offline
    S Offline
    slimanet
    wrote on last edited by
    #1

    hello,
    how to send an opened file inside the main application to a page in QWebEngineView and handle it by javascript FileReader() function , as it was opened by an html5 file input inside the QWebEngineView,
    thanks.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      slimanet
      wrote on last edited by
      #2

      i found an alternative solution, it's quite simple, instead of sending object file to read with javascript, i have just to read it in the main application and inject the content via a QWebChannel

      P 1 Reply Last reply
      0
      • S slimanet

        i found an alternative solution, it's quite simple, instead of sending object file to read with javascript, i have just to read it in the main application and inject the content via a QWebChannel

        P Offline
        P Offline
        poocom
        wrote on last edited by
        #3

        @slimanet Can QByteArray convert to ArrayBuffer?

        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