Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.15.0
-
None
-
Win10
MSVC17
QTCreator Designer
Intel Core i7-7700
8G RAM
Description
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.
Outcome:
The application does not compile anymore, since there are more than 65535 char's in one static c-string.
Expected:
The application compiles, eather by splitting the character into several parts or by outsourcing the text into a resource.