www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Is it possible to target all platforms that Qt Quick can target?

reply Enjoys Math <enjoysmath gmail.com> writes:
Hi,

I'm writing my GUI in C++ & Qt Quick.  I know that I could 
connect to D from the GUI code using a DLL, but can something 
similar be done on the other PC OS's and the mobile OS's?

Thanks.
Aug 12 2019
next sibling parent reply Kagamin <spam here.lot> writes:
You're probably interested in readiness, not possibility?
Aug 12 2019
parent reply Enjoys Math <enjoysmath gmail.com> writes:
On Monday, 12 August 2019 at 18:30:24 UTC, Kagamin wrote:
 You're probably interested in readiness, not possibility?
I am interested in both. If I begin coding in D today, it will likely be 8 months until the backend is completed.
Aug 12 2019
parent Enjoys Math <enjoysmath gmail.com> writes:
Any ideas on this?
Aug 12 2019
prev sibling parent reply Russel Winder <russel winder.org.uk> writes:
On Mon, 2019-08-12 at 17:45 +0000, Enjoys Math via Digitalmars-d-learn wrot=
e:
 Hi,
=20
 I'm writing my GUI in C++ & Qt Quick.  I know that I could=20
 connect to D from the GUI code using a DLL, but can something=20
 similar be done on the other PC OS's and the mobile OS's?
=20
 Thanks.
=20
Looking at https://wiki.dlang.org/GUI_Libraries there are some wrappers to = Qt for D, including dqml. I think some may not be as maintained as it would be nice to have. Actually it would be nice if there was one standard D wrapper for Qt and QML as there is GtkD the one true D wrapper to GTK+. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Dr Russel Winder t: +44 20 7585 2200 41 Buckmaster Road m: +44 7770 465 077 London SW11 1EN, UK w: www.russel.org.uk
Aug 13 2019
parent Enjoys Math <enjoysmath gmail.com> writes:
I cannot use QML for D or other D Qt libraries.  I'm writing 
something important and need all of Qt Creator and its C++ 
editing environment.  I don't wish to go through the bad 
experience of using those libraries.  I've tried it before.

I do D in Visual D, and that would be for the backend only, 
connected to the GUI code using a dynamic library.

I will assume the answer is no, D is not support that yet 
(targeting all platforms with a dynamic library, all platforms 
that Qt Quick supports).
Aug 14 2019