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. Frozencolumn Example: missing rows from resource file, resource file size limit?

Frozencolumn Example: missing rows from resource file, resource file size limit?

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 3 Posters 967 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.
  • A Offline
    A Offline
    aldumas
    wrote on last edited by A Former User
    #1

    With the "frozencolumn" example that ships with Qt, I noticed that if I add data to grades.txt (and no other changes), the maximum number of rows that will show in the grid is 338. Is there a limit to the sizes of the resource files that I am running against? Is there a way to read more of the file?

    Thanks for your help.

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

      Hi and welcome to devnet,

      What kind of text are you adding to that file ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      A 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        What kind of text are you adding to that file ?

        A Offline
        A Offline
        aldumas
        wrote on last edited by aldumas
        #3

        @SGaist, I just copied the lines already in the file over and over again. I tried to attach the grades.txt file, but I guess I need privileges for that.

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

          Hi
          the qrcc compiler will barf at you if your hit the size limit.

          Anyway, fast study shows that:
          file.canReadLine fails around 388-342 for unknow reasons.
          replacing it with a TextStream, lets its read them all.
          see pic.
          alt text

          A 1 Reply Last reply
          3
          • mrjjM mrjj

            Hi
            the qrcc compiler will barf at you if your hit the size limit.

            Anyway, fast study shows that:
            file.canReadLine fails around 388-342 for unknow reasons.
            replacing it with a TextStream, lets its read them all.
            see pic.
            alt text

            A Offline
            A Offline
            aldumas
            wrote on last edited by
            #5

            @mrjj Thanks!

            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