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

screen was not declared #42

Open
lzlplus opened this issue Jun 19, 2023 · 1 comment
Open

screen was not declared #42

lzlplus opened this issue Jun 19, 2023 · 1 comment

Comments

@lzlplus
Copy link

lzlplus commented Jun 19, 2023

Ubuntu QT 5.12编译时遇到screen was not declared的情况,请问如何解决呢?
Screenshot from 2023-06-20 00-24-32

@sadjude
Copy link

sadjude commented Jun 29, 2023

代码修改为:QScreen *pStCurScreen = ui->ShowWid->windowHandle()->screen();

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