Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to get QWidget:winId? #16

Open
zhu603809832 opened this issue Feb 25, 2022 · 1 comment
Open

how to get QWidget:winId? #16

zhu603809832 opened this issue Feb 25, 2022 · 1 comment

Comments

@zhu603809832
Copy link

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?

@sanikoyes
Copy link
Collaborator

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;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants