Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.5.1
-
None
-
ff18b02f21a04f7092b58be04be5a40df3ef993b
Description
Don't generate code using QStringLiteral as this can create a problem if the code is used in a DLL. Since the code is generated by uic then it should not be using QStringLiteral as it is not known where the generate code will end up, if it is in a user created dll then it can cause a crash when being unloaded due to the fact that QStringLiteral expects to be valid the whole time.
Attachments
Issue Links
- duplicates
-
QTBUG-62625 App crashes on termination if a font is loaded by unloaded library
- Closed
- relates to
-
QTBUG-65251 uic generates QLatin1String for shortcuts
- Closed
- replaces
-
QTBUG-46880 QFontCache crash when DLL is unloaded
- Closed
For Gerrit Dashboard: QTBUG-51602 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
201309,3 | uic: Add -no-stringliteral option | dev | qt/qtbase | Status: MERGED | +2 | 0 |
234503,8 | uic: Revert the microoptimization patch introducing QStringLiteral | dev | qt/qtbase | Status: MERGED | +2 | 0 |