Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. Reading and combining multiple files
Qt 6.11 is out! See what's new in the release blog

Reading and combining multiple files

Scheduled Pinned Locked Moved Brainstorm
3 Posts 2 Posters 2.5k Views 1 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.
  • G Offline
    G Offline
    gridplusplus
    wrote on last edited by
    #1

    Hi all, I am new here so be gentle.
    I have a question about Qt and Grid Computing, we are in the middle of the integration of PySide with our Grid++ System and we are having trouble with the resource management/task management module, the source of the problem seems to be that Qt has no methods for combining binary files.

    Now my question, is there a way where I can load an image/file progressive in Qt, for example: I have an image that is split into 4 binary files, is there a streaming function I can use to combine them in Qt, or can anyone give me a hint how to combine files in Qt.

    Thx


    The Future is Powered by Grid++

    1 Reply Last reply
    0
    • F Offline
      F Offline
      fluca1978
      wrote on last edited by
      #2

      Not sure to understand your problem, but if you have the data split in n files, you can read all the data from each, place it into a buffer and use a "QImage":http://doc.qt.nokia.com/latest/qimage.html#QImage-7 constructor that accepts such buffer. So you are gathering the streams manually.

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gridplusplus
        wrote on last edited by
        #3

        Thx a lot for your hint, I think that is actually what I am looking for, now I just need to figure out how to bridge it with PySide.

        Thank you :)


        The Future is Powered by Grid++

        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