lqt icon indicating copy to clipboard operation
lqt copied to clipboard

how to get QWidget:winId?

Open zhu603809832 opened this issue 2 years ago • 1 comments

I found that the generated XML has winId information, but export qtwidgets_ meta_ QWidget. The cpp file does not register Lua's winId interface. So how do I get the winId of QWidget in Lua?

zhu603809832 avatar Feb 25 '22 11:02 zhu603809832

First find the header file where this interface is located in Qt, then you can find the following lqt folder, look at the corresponding header file, modify/uncomment, and you should be able to export;

sanikoyes avatar Jul 31 '22 03:07 sanikoyes