[Development] New Qt example development guideline and revamping examples

Christian Kandeler christian.kandeler at qt.io
Thu Jan 19 09:59:52 CET 2023


On 1/18/23 19:56, A. Pönitz wrote:
>
> As a data point, even at it's height of .ui usage, Qt Creator (which is
> a "namespace aware" code base, see https://wiki.qt.io/Qt_In_Namespace)
> needed the QT_*_NAMESPACE for about 30 of its >200 .ui classes, and
> that in the presence of ~680 places where it was needed for other
> reasons.

That's probably because we went out of our way to explicitly add a 
namespace to the types in the ui file.

> If it had been considered a problem at the time, we'd probably had
> the uic flag for 13 years or so...

There are various bug reports along the lines of 
https://bugreports.qt.io/browse/QTCREATORBUG-19590, which we basically 
ignored.


Christian



More information about the Development mailing list