Re: [Development] Execute a function in the specified existing thread

2023-07-03 Thread JiDe Zhang
June 10, 2023 00:05 To: Macieira, Thiago ; JiDe Zhang ; development@qt-project.org Subject: Re: [Development] Execute a function in the specified existing thread On 9 Jun 2023, at 02:00, Thiago Macieira wrote: On Wednesday, 7 June 2023 19:18:02 PDT JiDe Zhang wrote: please make sure

Re: [Development] Execute a function in the specified existing thread

2023-06-09 Thread Volker Hilsheimer via Development
On 9 Jun 2023, at 02:00, Thiago Macieira wrote: On Wednesday, 7 June 2023 19:18:02 PDT JiDe Zhang wrote: please make sure your contribution uses QMetaCallEvent. Why uses QMetaCallEvent? I don't know how to make the function arguments to void** for QMetaCallEvent constructor. Maybe I can use QA

Re: [Development] Execute a function in the specified existing thread

2023-06-08 Thread Thiago Macieira
On Wednesday, 7 June 2023 19:18:02 PDT JiDe Zhang wrote: > > please make sure your contribution uses QMetaCallEvent. > > Why uses QMetaCallEvent? I don't know how to make the function arguments to > void** for QMetaCallEvent constructor. Maybe I can use > QAbstractMetaCallEvent. My point is that

Re: [Development] Execute a function in the specified existing thread

2023-06-08 Thread Volker Hilsheimer via Development
> On 7 Jun 2023, at 17:20, Thiago Macieira wrote: > > On Wednesday, 7 June 2023 01:53:47 PDT JiDe Zhang wrote: >> I am writing a tool to allowed call a function in the specified existing >> thread, I want to contribution it to Qt project, are you like? > > We do this internally, but don't usua

Re: [Development] Execute a function in the specified existing thread

2023-06-07 Thread Thiago Macieira
On Wednesday, 7 June 2023 01:53:47 PDT JiDe Zhang wrote: > I am writing a tool to allowed call a function in the specified existing > thread, I want to contribution it to Qt project, are you like? We do this internally, but don't usually expose it. If you're going to contribute it, please make su