Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Viewing huge files with a Qt app
Forum Updated to NodeBB v4.3 + New Features

Viewing huge files with a Qt app

Scheduled Pinned Locked Moved Unsolved General and Desktop
23 Posts 3 Posters 3.3k 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.
  • JonBJ JonB

    @deisik
    You think it would take a couple of hours to do your parsing on a 90MB/1GB file?!

    Anyway, why don't you try it out and check for yourself?

    Sorry, you would like me to write and test what you want? Not to mention, without even knowing what your "parsing" entails? That's not how it works: YOU can "try it out and check for yourself?" since it's your issue, not me.

    deisikD Offline
    deisikD Offline
    deisik
    wrote on last edited by deisik
    #21

    Sorry, you would like me to write and test what you want?

    No, just try opening a 90Mb file with QTextEdit (QPlainTextEdit), then feel free to make statements that "something is not right"

    JonBJ 2 Replies Last reply
    0
    • deisikD deisik

      Sorry, you would like me to write and test what you want?

      No, just try opening a 90Mb file with QTextEdit (QPlainTextEdit), then feel free to make statements that "something is not right"

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

      @deisik said in Viewing huge files with a Qt app:

      then feel free to make statements that "something is not right"

      If you think parsing such a file should take hours then I suggested something is not right. Feel free to ignore my suggestions, I was trying to help you but won't bother if that is your reaction.

      1 Reply Last reply
      1
      • deisikD deisik

        Sorry, you would like me to write and test what you want?

        No, just try opening a 90Mb file with QTextEdit (QPlainTextEdit), then feel free to make statements that "something is not right"

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

        @deisik said in Viewing huge files with a Qt app:

        No, just try opening a 90Mb file with QTextEdit (QPlainTextEdit), then feel free to make statements that "something is not right"

        Just tried an 86MB file read into QPlainTextEdit and displaying it. About 8 seconds. Not exactly "hours". Now can I make my statement suggesting that "something is not right" in your estimation/finding? And btw this is considerably quicker that loading it into a text editor.

        That file (typical text?) came out as 2.5 million lines of text. As an end user I'm not sure what the point of displaying that many lines to me is anyway. So you still have the option of only reading/displaying portions as user scrolls to reduce it considerably if you wish.

        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