Closed EndrII closed 2 years ago
still not working with QZXING_MULTIMEDIA
Hey @EndrII, just created a pull request (#214) for the same thing and now saw that you already opened one 2 days ago.
In principle they are very similar. I like your idea of letting the user manually define QT_VERSION_MAJOR
instead of letting the find_package
function determine it. Also that the multimedia package only is searched if needed at all.
I think whats missing in your implementation is the check for Qt 6.2+ that has to include QZXingFilterVideoSink.cpp/h
instead of QZXingFilter.cpp/h
. Qt6 versions before 6.2 do not support multimedia at all. Cmake normally should fail than on the find_package command.
So what should we do? Do you want to update your pull request to work with Qt6.2 or should I update mine with your improvements?
@dabbinavo i close this pull request. but i fuoun some issues in youe PR. please fix
Add support qt6 library for CMake build system.
Search order of qt libraries
If you have two qt version on one machine you can force sets QT_VERSION_MAJOR for build