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
smime.p7s
Description: S/MIME cryptographic signature
-- Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development