[Development] Qt UDL operators

Thiago Macieira thiago.macieira at intel.com
Sun Apr 3 16:04:49 CEST 2022


On Saturday, 2 April 2022 07:46:33 PDT Kai Köhne wrote:
> If you use the "Qt Quick Application" wizard in any recent Qt Creator, and
> selected a Qt 6 version as minimally required version, the generated
> main.cpp code will contain code like
> 
>   const QUrl url(u"qrc:/myproject/main.qml"_qs);
> 
> Deprecating the u""_qs will mean that we break the most basic user 'hello
> world' projects utilizing this wizard. I therefore think it's too late to
> deprecate u""_qs any time soon.

It'll have to be a multi-year process then.

Step 1) stop generating this for new code

Step 2) 2 years later, add the warning of deprecation (the actual code change 
can be done now, with the warning enabled for the N+4 minor release of Qt)


-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering





More information about the Development mailing list