Re: [Development] Metatype system in Qt6

2020-01-27 Thread Olivier Goffart
On 25/01/20 17:31, Stottlemyer, Brett (B.S.) wrote: Apologies for reviving an old thread, but this just came up in a code review (https://codereview.qt-project.org/c/qt/qtremoteobjects/+/287828 if anyone is curious). On 12/5/19, 11:56 AM, "Development on behalf of Olivier Goffart" wrote:

Re: [Development] Metatype system in Qt6

2020-01-25 Thread Stottlemyer, Brett (B.S.)
Apologies for reviving an old thread, but this just came up in a code review (https://codereview.qt-project.org/c/qt/qtremoteobjects/+/287828 if anyone is curious). On 12/5/19, 11:56 AM, "Development on behalf of Olivier Goffart" wrote: That's a source incompatible change, and the qu

Re: [Development] Metatype system in Qt6

2019-12-09 Thread Olivier Goffart
On 05.12.19 21:19, d3fault wrote: On 12/5/19, Olivier Goffart wrote: That will not be working anymore if the MyType is only worward declared. The user will have to do one of these: 1. #include "MyType.h" in the header 2. Q_DECLARE_OPAQUE_POINTER(MyType *) 3. Q_MOC_INCLUDE("MyType.h")

Re: [Development] Metatype system in Qt6

2019-12-05 Thread d3fault
On 12/5/19, Olivier Goffart wrote: > That will not be working anymore if the MyType is only worward declared. > The user will have to do one of these: > 1. #include "MyType.h" in the header > 2. Q_DECLARE_OPAQUE_POINTER(MyType *) > 3. Q_MOC_INCLUDE("MyType.h") : that's not yet implemented b

Re: [Development] Metatype system in Qt6

2019-12-05 Thread Olivier Goffart
Hi, Reviving an old thread as I am currently working on QMetaType. QMetaType is a low level API of Qt, normally a developer shouldn't use it much in its application, and the goal for Qt6 is that there is even less to know about it. In short, the goal was to remove the use for Q_DECLARE_METATYP

Re: [Development] Metatype system in Qt6

2018-10-30 Thread Uwe Rathmann
On Mon, 29 Oct 2018 18:46:18 +0100, Olivier Goffart wrote: > In Qt5, we also need the name for the string-based connection syntax. I'm not sure if I'm ontopic for the Metatype system with my comment, so please excuse me if I'm hijacking this thread for a moment. I have this code: https://githu

Re: [Development] Metatype system in Qt6

2018-10-30 Thread Olivier Goffart
Hi, On 10/30/18 12:38 PM, Jedrzej Nowacki wrote: [...] Extensions in that respect do not change anything, because it is about error handling. How to inform a user that a type is not qdebug stream-able Not really important. I just want to do qDebug() << my_variant; and have some useful infor

Re: [Development] Metatype system in Qt6

2018-10-30 Thread Jedrzej Nowacki
Dnia poniedziałek, 29 października 2018 18:46:18 CET Olivier Goffart pisze: > On 10/29/18 5:39 PM, Jedrzej Nowacki wrote: > > Hi everyone! > > > >While main heat on the mailing list is taken by topic how to encode > >that we > > > > are nice, friendly and respectful to each other, I would

Re: [Development] Metatype system in Qt6

2018-10-29 Thread Olivier Goffart
On 10/29/18 5:39 PM, Jedrzej Nowacki wrote: Hi everyone! While main heat on the mailing list is taken by topic how to encode that we are nice, friendly and respectful to each other, I would like to show some side project that I had. It is a proposal for base of metatype system for Qt6. You ca

[Development] Metatype system in Qt6

2018-10-29 Thread Jedrzej Nowacki
Hi everyone! While main heat on the mailing list is taken by topic how to encode that we are nice, friendly and respectful to each other, I would like to show some side project that I had. It is a proposal for base of metatype system for Qt6. You can look and comment at it here: https://githu