I have a text which i need to fit in a QLineEdit.
The problem is the text is about 6.6 million characters long.
So now i set the max length of the QLineEdit to 10 million Characters like this:


But even if i set even larger limits, the text will get cut of at about 1/6th of the text length. So I think there is a upper limit for said function, which is not talked about in the documentation.

Could someone confirm my problem and maybe provide me with an solution/ workaround?

Help is much appreciated