qtD

michaelc37 michaelc37 at msn.com
Wed Jul 31 05:59:18 PDT 2013


for anyone still interested.

after some itch scratching i finally got this to compile with dmd
2.063.2 on ubuntu 64bit -
https://bitbucket.org/michaelc37/qtd-experimental

here is what i did.

1) had to create auto_ref template for passing rvalues
     q: i remember some discussion on this, has a solution been
finalized?
2) modify generator so that it adds the "override" keyword where
necessary
3) modify generator so that structs are passed to cpp exported
functions as pointers.
     q: i think that some d structs are objects in cpp (QRect?),
and when cpp read the data the alignment seem to be off(e.g.
height variable data, ended up in the x variable). Can somone
explain this?


More information about the Digitalmars-d mailing list