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

CMAKE fails OpenCV 4.5.3 with QT6 #20499

Closed
Ivan-Cherkasov opened this issue Aug 4, 2021 · 5 comments
Closed

CMAKE fails OpenCV 4.5.3 with QT6 #20499

Ivan-Cherkasov opened this issue Aug 4, 2021 · 5 comments

Comments

@Ivan-Cherkasov
Copy link

OpenCV => 4.5.3
Operating System / Platform =>Windows
CMAKE => 3.20.4
QT6

It's looks like cmake looking for QT5 as highest version.

error

@mshabunin
Copy link
Contributor

AFAIK, Qt 6 support has not been implemented yet thus marking this ticket as "feature".

@alalek
Copy link
Member

alalek commented Aug 4, 2021

You may want to check this PR: #20183

@alalek
Copy link
Member

alalek commented Aug 4, 2021

Lets keep this issue open until we have fix on master branch.

@Ivan-Cherkasov
Copy link
Author

Of course, thanks. I'm try to fix using PR: #20183 right now.

@Ivan-Cherkasov
Copy link
Author

Building ended with error.
error_2 png

Find in QT blog issue, that "The names are confusing, no doubt about that. At least with 5.4 the message is finally clear: Avoid everything starting with QGL and go for QOpenGL"

https://www.qt.io/blog/2014/09/10/qt-weekly-19-qopenglwidget

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

No branches or pull requests

3 participants