Re: DQt: Qt bindings using extern(C++)

2021-12-09 Thread LorenDB via Digitalmars-d-announce

On Monday, 6 December 2021 at 16:14:03 UTC, Tim wrote:

I wrote a converter, but also had to make many manual changes.


Can we see the converter source? I'd be interesting in both 
looking at the code and also seeing if I can modify it to work 
with another library (i.e. Wt).


Re: DQt: Qt bindings using extern(C++)

2021-12-09 Thread LorenDB via Digitalmars-d-announce

On Sunday, 5 December 2021 at 12:54:21 UTC, Tim wrote:
DQt contains new experimental bindings for using a subset of Qt 
with D.
Qt is a library for writing cross-platform graphical user 
interfaces.
Currently bindings exist for the Qt modules core, gui and 
widgets. The
bindings use extern(C++) and don't need any wrapper in C++. 
They are
based on Qt 5.15.2 and tested on Linux and Windows, but need a 
dmd

compiled from master for Windows.

For more details see the README.md in the repository:
https://github.com/tim-dlang/dqt

It is also available with dub:
https://code.dlang.org/packages/dqt


Wow, this looks really cool! I have actually been holding back 
from learning D simply because it is hard to bring Qt with me. I 
did get dqml and DOtherSide set up yesterday, so I'm working my 
way through the D docs now, but this looks like it has potential 
to be more than just a wrapper around loading QML and interfacing 
D classes to QML.


Here's hoping you are successful in getting DQt to extend to 
cover all of Qt instead of just a few modules! :) If I felt like 
I had enough D knowledge, I might try lending a hand, but I am 
unfortunately not there yet :(