Priority: P3: Somewhat important
Affects Version/s: 5.15.0
Fix Version/s: None
Component/s: Build tools: uic
Intel Core i7-7700
If you create a QTextBrowser with an html longer than 65535 characters, the code generator will fail to create a functional source file, because compiler must support only 65535 characters. In this case, the code generator should split the string into several QStrings or create a attached source file, which will be loaded dynamically.
How to reproduce:
- Open QtCreator
- Create an application
- Go to the Designer by opening/creating an ui file
- Add an QTextBrowser to the Widget
- Add more than 65535 characters to the source section of the Textbrowser
Alternatively, adding The LGPLv2 licence text to the Text tab should have the same effect.
The application does not compile anymore, since there are more than 65535 char's in one static c-string.
The application compiles, eather by splitting the character into several parts or by outsourcing the text into a resource.