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

2021-12-11 Thread evilrat via Digitalmars-d-announce
On Saturday, 11 December 2021 at 00:47:56 UTC, LorenDB wrote: On Friday, 10 December 2021 at 17:38:56 UTC, Tim wrote: I have not released the converter yet. It is currently not very user friendly and needs many manual changes to the result, which I want to improve. It also has Qt specific

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

2021-12-10 Thread LorenDB via Digitalmars-d-announce
On Friday, 10 December 2021 at 17:38:56 UTC, Tim wrote: I have not released the converter yet. It is currently not very user friendly and needs many manual changes to the result, which I want to improve. It also has Qt specific parts. I will definitely be watching for the release of the

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

2021-12-10 Thread Tim via Digitalmars-d-announce
On Friday, 10 December 2021 at 02:35:12 UTC, LorenDB wrote: 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). I have not released the converter yet. It is currently not very user friendly

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++)

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

2021-12-07 Thread Tim via Digitalmars-d-announce
On Tuesday, 7 December 2021 at 06:33:18 UTC, MGW wrote: Can you explain in more detail some points that are difficult for me: widgets/label.d file. I see a C++ mapping of class QLabelPrivate to structure D extern(C++, class) struct QLabelPrivate; this makes sense. I see below an

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

2021-12-06 Thread MGW via Digitalmars-d-announce
Can you explain in more detail some points that are difficult for me: widgets/label.d file. I see a C++ mapping of class QLabelPrivate to structure D extern(C++, class) struct QLabelPrivate; this makes sense. I see below an implementation of a class D named QLabel class /+ Q_WIDGETS_EXPORT

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

2021-12-06 Thread zjh 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. It would be interesting to have a `C++/rust` general-purpose converter.

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

2021-12-06 Thread MGW via Digitalmars-d-announce
I wrote a converter, but also had to make many manual changes. I realized that without a converter you can't do this kind of volume ... I'm thinking about a converter too, I keep thinking and thinking Please - more comments in the examples, a lot of non-obvious constructions. The

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

2021-12-06 Thread Tim via Digitalmars-d-announce
On Monday, 6 December 2021 at 08:28:58 UTC, MGW wrote: 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

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

2021-12-06 Thread MGW 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++)

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

2021-12-05 Thread zjh 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. It would be nice if there were bindings for `sciter, wxwidget`, etc.

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

2021-12-05 Thread Tim via Digitalmars-d-announce
On Sunday, 5 December 2021 at 17:11:09 UTC, user1234 wrote: no dynamic cast problems (https://issues.dlang.org/show_bug.cgi?id=21690)? I did not see this problem. Qt uses a custom implementation for dynamic casts of objects inheriting from QObject, which is independent from C++

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

2021-12-05 Thread user1234 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++)

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

2021-12-05 Thread Tim via Digitalmars-d-announce
On Sunday, 5 December 2021 at 14:13:21 UTC, russhy wrote: Thanks for sharing! Don't forget to settopics (D, QT, binding, ui, gui for example) , it's in the same menu as your "About" one This helps discoverability on github a lot! Thanks for the suggestion. I have added some topics.

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

2021-12-05 Thread russhy via Digitalmars-d-announce
Thanks for sharing! Don't forget to settopics (D, QT, binding, ui, gui for example) , it's in the same menu as your "About" one This helps discoverability on github a lot!

DQt: Qt bindings using extern(C++)

2021-12-05 Thread Tim via Digitalmars-d-announce
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