lqt
lqt copied to clipboard
how to get QWidget:winId?
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?
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;