[Interest] Creating a QVariant of QList<QObject*> knowing only the class name

Henry Skoglund fromqt at tungware.se
Thu Feb 23 01:13:30 CET 2017


Den 2017-02-23 kl. 00:26, skrev Ch'Gans:
> On 23 February 2017 at 05:42, Thiago Macieira <thiago.macieira at intel.com> wrote:
>> On quarta-feira, 22 de fevereiro de 2017 02:40:37 PST Ch'Gans wrote:
> [...]
>>> Tanks for all your inputs, but I'm still puzzled, I can't believe this
>>> is not achievable in a generic way...
>>
>> It is achievable. I'm saying that the Qt metatype system doesn't do what you
>> want and that the way you tried was UB.
>
> May I ask what UB stands for? There seems to be zillion of definitions for "UB".
>
>

Hi, bet you a buck he meant "undefined behavior".

/Rgrds Henry

>>
>> --
>> Thiago Macieira - thiago.macieira (AT) intel.com
>>   Software Architect - Intel Open Source Technology Center
>>
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>





More information about the Interest mailing list