On Wed, Feb 11, 2015 at 1:12 PM, Matt Broadstone wrote:
> On Wed, Feb 11, 2015 at 4:00 PM, Thiago Macieira
> wrote:
>>
>> On Wednesday 11 February 2015 18:50:42 Hausmann Simon wrote:
>> > Hi,
>> >
>> > The brute force way is to add this feature to the engine at the expense
>> > of
>> > performanc
On Wed, Feb 11, 2015 at 4:00 PM, Thiago Macieira
wrote:
> On Wednesday 11 February 2015 18:50:42 Hausmann Simon wrote:
> > Hi,
> >
> > The brute force way is to add this feature to the engine at the expense
> of
> > performance, memory consumption and maintenance :)
> >
> > Today you can invoke J
On Wednesday 11 February 2015 18:50:42 Hausmann Simon wrote:
> Hi,
>
> The brute force way is to add this feature to the engine at the expense of
> performance, memory consumption and maintenance :)
>
> Today you can invoke Javascript defined functions by simply getting the
> function as a proper
Original Message
> From: Rees, Kevron
> Sent: Wednesday, February 11, 2015 17:18
> To: Hausmann Simon
> Cc: Thiago Macieira; development@qt-project.org
> Subject: Re: [Development] why is QJSEngine not modifying metaObject
>
>
> On Wed, Feb 11, 2015 at 12:03 AM, Hausmann Simo
, Kevron
Sent: Wednesday, February 11, 2015 17:18
To: Hausmann Simon
Cc: Thiago Macieira; development@qt-project.org
Subject: Re: [Development] why is QJSEngine not modifying metaObject
On Wed, Feb 11, 2015 at 12:03 AM, Hausmann Simon
wrote:
> Hi,
>
> Kind of :) It works on a type level.
To: development@qt-project.org
> Subject: Re: [Development] why is QJSEngine not modifying metaObject
>
>
> On Wednesday 11 February 2015 07:11:26 Hausmann Simon wrote:
>> Hi,
>>
>> The short answer to your question is that the meta object system isn't
>> rea
5 08:35
To: development@qt-project.org
Subject: Re: [Development] why is QJSEngine not modifying metaObject
On Wednesday 11 February 2015 07:11:26 Hausmann Simon wrote:
> Hi,
>
> The short answer to your question is that the meta object system isn't
> really designed for th
On Wednesday 11 February 2015 07:11:26 Hausmann Simon wrote:
> Hi,
>
> The short answer to your question is that the meta object system isn't
> really designed for this. In theory this could be implemented but it would
> come at a high cost for something that rarely happens. The qml engine
> suppo
fully dynamic.
Simon
Original Message
From: Rees, Kevron
Sent: Wednesday, February 11, 2015 00:52
To: development@qt-project.org
Subject: [Development] why is QJSEngine not modifying metaObject
test:
class Test : public QObject {
Q_OBJECT
public slots:
QObject* createQObject() { retur
test:
class Test : public QObject {
Q_OBJECT
public slots:
QObject* createQObject() { return new QObject(); }
void checkQObjectMetaObject(QObject* obj)
{
for(int i=0; i < object->metaObject()->methodCount(); i++)
{
qDebug() << "introspecting: " << object->metaObject()->method(i
10 matches
Mail list logo