Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Frozencolumn Example: missing rows from resource file, resource file size limit?
aldumas last edited by A Former User
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.
Hi and welcome to devnet,
What kind of text are you adding to that file ?
aldumas last edited by aldumas
@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.
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.
aldumas last edited by