Is this possible If I use qobject? Is it possible to call a qobject class method by string name?
Is this possible If I use qobject? Is it possible to call a qobject class method by string name?
Sure, you could abuse Qt's slot system.
But I want to call function/method that are part of qt gui... Is it possible ?
Yes, how complex and how much work is required from you depends on which methods and what you want to do with those methods.
What do you want to accomplish? Maybe there is an easier way ?
I want to create something like this: www.gtk-server.org...
In which case, QtScript would probably be better suited.
To me it is kind of reinventing the wheel if we remember there is PyQt, QtScript and Kross.
Bookmarks