Jump to page: 1 2
Thread overview
DQt: Qt bindings using extern(C++)
Dec 05, 2021
Tim
Dec 05, 2021
russhy
Dec 05, 2021
Tim
Dec 05, 2021
user1234
Dec 05, 2021
Tim
Dec 06, 2021
zjh
Dec 06, 2021
MGW
Dec 06, 2021
Tim
Dec 06, 2021
MGW
Dec 07, 2021
zjh
Dec 07, 2021
MGW
Dec 07, 2021
Tim
Dec 10, 2021
LorenDB
Dec 10, 2021
Tim
Dec 11, 2021
LorenDB
Dec 11, 2021
evilrat
Dec 10, 2021
LorenDB
December 05, 2021
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

December 05, 2021
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!
December 05, 2021
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.
December 05, 2021
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

no dynamic cast problems (https://issues.dlang.org/show_bug.cgi?id=21690)?
December 05, 2021
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++ dynamic_cast. See function qobject_cast: https://doc.qt.io/qt-5/qobject.html#qobject_cast
December 06, 2021

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.

December 06, 2021
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

Nice work!
Did you use any converter to describe classes automatically, or is it all manual?

December 06, 2021
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 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
>
> Nice work!
> Did you use any converter to describe classes automatically, or is it all manual?

I wrote a converter, but also had to make many manual changes.
December 06, 2021
> 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 library is great, I really liked it!
December 07, 2021

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.

« First   ‹ Prev
1 2