I am planning onto building opencv with the support of qt, however I wonder if you can build it with any version of qt or if it need to be a specific version of qt
I have tried QT 4.8.6, 5.12.8 and they both worked perfect. I guess there is no specific version for it. Just try your available version
I am using Qt 5.15.2 and have not seen any issues.