qtD

Benjamin Thaut code at benjamin-thaut.de
Wed Aug 14 00:20:15 PDT 2013


Am 01.08.2013 16:36, schrieb michaelc37:
>
> I compiled against Qt4, I want to try it on Qt5 soon but there is
> another annoying issue I discovered when trying to update and compile
> all of the qtd exmples: All slot functions must now be declared public..
> I'm guessing something changed in traits recently.
>

Yes since dmd 2.061 typeof no longer works on members you don't have 
access to. But it is possible to bypass this using the tupleof property. 
See typeOfFieldImpl in

https://github.com/Ingrater/druntime/blob/master/src/core/traits.d

Kind Regards
Benjamin Thaut





More information about the Digitalmars-d mailing list