[Development] Are SiCs through #include cleanups considered acceptable?

Mathias Hasselmann mathias at taschenorakel.de
Tue Apr 14 08:33:06 CEST 2015



Am 10.04.2015 um 17:51 schrieb Thiago Macieira:
> On Friday 10 April 2015 09:51:42 Christian Kandeler wrote:
>> On 04/09/2015 08:51 PM, Thiago Macieira wrote:
>>> The objective is to make Qt6 QStringList be a typedef to QList<QString>,
>>> not a separate class.
>>
>> Uh-oh, that will break all forward declarations in client code...
>
> Ok, I hadn't considered that...
>

So we finally have reached the turning point at which we have no chance 
but to make C++11 mandatory for public Qt headers:

     class QStringList : public QList<QString>
     {
     public:
         using QList::QList;
     };

</wishful-troll> :-)

Ciao,
Mathias



More information about the Development mailing list