On Wed, 2013-07-31 at 14:59 +0200, michaelc37 wrote:
> for anyone still interested.

We're here :-)

> 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?

Are you compiling against Qt4 or Qt5?

I don't have Ubuntu but do have Debian Unstable and Fedora 18 (will move
to 19 when it is released). I'd be happy to be a test builder if that
would be helpful.

I have a PySide (Qt4) application that I would like to try
reimplementing in a native code language — I have to do some work on
this anyway to switch back to PyQt since PyQt5 is about and PySide is
stuck on Qt4). Options are C++, Go, D. Or possibly all of them. Now that
Qt5 is out and about I am hesitant to do anything with Qt4, particularly
now there is a SCons tool for Qt5. 

Thanks.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: rus...@winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to