Re: [Development] New property system

2020-10-01 Thread Fabian Kosmale
Varelius, Jouni Lintunen Sitz der Gesellschaft: Berlin Registergericht: Amtsgericht Charlottenburg, HRB 144331 B -- Von: Development im Auftrag von Robert Löhning Gesendet: Donnerstag, 1. Oktober 2020 21:15 An: development@qt-project.org Betreff: Re: [D

Re: [Development] New property system

2020-10-01 Thread Robert Löhning
Am 26.08.20 um 09:18 schrieb Lars Knoll: > (...) > This is the one place where we rely on a non standard (but supported by all > our compilers) feature. Namely the ability to call offsetof() on non-standard > types. Hi Lars, how will undefined behavior sanitizers (UBSAN) react to this? Cheers,

Re: [Development] New property system

2020-09-01 Thread Lars Knoll
> On 1 Sep 2020, at 16:12, Thiago Macieira wrote: > > On Tuesday, 1 September 2020 02:54:49 PDT Lars Knoll wrote: >>> If it's only for compatibility, what should one write in the Q_PROPERTY >>> header for new properties? >> >> As said, it’s for both old and new properties in QObjects. What you n

Re: [Development] New property system

2020-09-01 Thread Thiago Macieira
On Tuesday, 1 September 2020 02:54:49 PDT Lars Knoll wrote: > > If it's only for compatibility, what should one write in the Q_PROPERTY > > header for new properties? > > As said, it’s for both old and new properties in QObjects. What you need to > do to convert a property and make it bindable is

Re: [Development] New property system

2020-09-01 Thread Lars Knoll
> On 31 Aug 2020, at 06:17, Thiago Macieira wrote: > > On Wednesday, 26 August 2020 00:18:49 PDT Lars Knoll wrote: >> To summarise the advantages of the redesigned system: >> >> * Very little memory overhead if bindings aren’t used >> * Very low runtime overhead if bindings aren’t used >> * Bind

Re: [Development] New property system

2020-09-01 Thread Simon Hausmann
On Wed, 26 Aug 2020 at 09:20, Lars Knoll wrote: > > Hi all, > > After the long discussions a few weeks back about the new property system and > some trial to port the existing properties over to the new system, it became > somewhat clear to me that the approach we had tried so far won’t work and

Re: [Development] New property system

2020-09-01 Thread Thiago Macieira
On Wednesday, 26 August 2020 00:18:49 PDT Lars Knoll wrote: > To summarise the advantages of the redesigned system: > > * Very little memory overhead if bindings aren’t used > * Very low runtime overhead if bindings aren’t used > * Binding support can be added to properties in QObjects in a binary

[Development] New property system

2020-08-26 Thread Lars Knoll
Hi all, After the long discussions a few weeks back about the new property system and some trial to port the existing properties over to the new system, it became somewhat clear to me that the approach we had tried so far won’t work and be ready in time for the feature freeze. The main problem