Linked by Thom Holwerda on Tue 21st Sep 2010 21:32 UTC, submitted by diegocg
Thread beginning with comment 442555
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
News
Linked by Thom Holwerda on 05/24/13 14:44 UTC
Linked by Thom Holwerda on 05/23/13 23:22 UTC
Linked by Thom Holwerda on 05/23/13 22:04 UTC
Linked by Thom Holwerda on 05/23/13 22:01 UTC
Linked by Thom Holwerda on 05/23/13 17:52 UTC
Linked by Thom Holwerda on 05/22/13 22:23 UTC
Linked by Thom Holwerda on 05/22/13 13:38 UTC
Linked by Thom Holwerda on 05/22/13 13:30 UTC, submitted by JRepin
Linked by Thom Holwerda on 05/21/13 22:06 UTC
Linked by Thom Holwerda on 05/21/13 21:45 UTC
More News »
Sponsored Links



Member since:
2005-07-22
For instance, the qml environment creates QMetaObjects at runtime, as do most of the Qt language bindings. All the moc mostly does is generate code for QMetaObjects, and so you can do everything the moc does at runtime pretty much.
Oh yeah? please show me the relevant Qt documentation that allows one to do the same job himself.
(psst...don't bother, there is no documentation. Qt does not encourage that, and I don't want to have to support many versions of the Qt internals that might change from version to version). "
I didn't me 'easy' in the sense that it is something a normal applications programmer would want to do. I meant 'easy' in the sense of it allowing systems programmers to make use of the dynamic runtime. I agree there is no documentation and you do need to read and understand the code that the moc generates and how QMetaObjects work at runtime.
Of course that is something that an applications programmer would not want to, and nor would they want to keep track of internal apis. But the fact is using statically typed Boost signals is much, much harder for language bindings and other dynamic language features like properties in Qt Designer.
There is nothing that stops a statically typed signals and slots system to be connected at runtime via text files. All that is required is the appropriate interfaces in the code. "
What is the 'text files' technique that you are talking about? It is a new one on me. What do these 'text files' look like? How would Boost signals work with 'text files'? Is there a tool to autogenerate them?