[Development] RFC: Scriptable Widgets
Thiago Macieira
thiago.macieira at intel.com
Thu Nov 28 18:18:29 CET 2024
On Wednesday 27 November 2024 23:45:02 Pacific Standard Time Marcus Tillmanns
via Development wrote:
> I would like to script the creation and usage of all of the QWidget classes.
> What’s the likelihood of acceptance (of a merge request) if I were to add
> Q_INVOKABLE to the constructors and methods of each QWidget derived class
> and QWidget itself?
First, is going through the meta object the correct thing to do here? What
scripting language are you using and how are you binding the rest of Qt to it?
It seems to me that if you want to do an "everything in scripting"
programming, you want to generate code to generate the binding more efficiently
than to add to the meta objects. See the Qt for Python's shiboken for some
help here.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Principal Engineer - Intel DCAI Platform & System Engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5152 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20241128/8c19fa0c/attachment.bin>
More information about the Development
mailing list