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;
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?