Re: [Development] Could support for C be added to Qt?

2022-09-09 Thread samuel ammonius
> To me trying to wrap the API is just a way to do things more complicated, for > the sake of making it more complicated. The programs I was thinking would benefit from something like this in particular are the ones that have been built on top of C and GTK, and would maybe like to switch now that

Re: [Development] Could support for C be added to Qt?

2022-09-09 Thread Karl Semich
>> There's a couple things I still haven't figured out though, like >> constructors/destructors and templates. Are there solutions to these that In C, constructors/destructors usually become alloc/free functions. C has macros and code generation but these aren’t directly analogous to templates. I

Re: [Development] Could support for C be added to Qt?

2022-09-09 Thread Allan Sandfeld Jensen
On Samstag, 10. September 2022 00:05:10 CEST samuel ammonius wrote: > Hello, > > I'm new to contributing to Qt directly, but I've been trying to create > external C bindings for Qt for a few months now. Since C and C++ are so > similar, I've recently been thinking it may just be better to add C su

[Development] Could support for C be added to Qt?

2022-09-09 Thread samuel ammonius
Hello, I'm new to contributing to Qt directly, but I've been trying to create external C bindings for Qt for a few months now. Since C and C++ are so similar, I've recently been thinking it may just be better to add C support directly to the Qt headers by checking for the __cplusplus macro. The d

Re: [Development] Binary incompatible change in QtConcurrent - was - Re: Qt 5.15.6 Opensource released

2022-09-09 Thread Sona Kurazyan
I've created a revert commit for 5.15, see https://codereview.qt-project.org/c/qt/tqtc-qtbase/+/431686. Best regards, Sona > -Original Message- > From: Development On Behalf Of > Thiago Macieira > Sent: Thursday, September 8, 2022 11:23 PM > To: development@qt-project.org > Subject: Re: