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.
|For Gerrit Dashboard: QTBUG-51602|
|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|