Support QT_NO_CAST_FROM_ASCII in generated code


This is needed as the generated code will be included in targets
with possibly QT_NO_CAST_FROM_ASCII set.

Change-Id: Ic71e729657fbe2c0c402c86439e633cf6102e358
Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
commit34b48cd4f7fed202fffca08b5943eb82cf335b74
parent5e889436ddcc7675c6aea61998cf010cd9d5c4a2
authorCarl Schwan <carl.schwan@kdab.com>
committerCarl Schwan <carl.schwan@kdab.com>
commit timeMon, 6 Mar 2023 12:14:16 +0100