obsproject / obs-browser

CEF-based OBS Studio browser plugin
GNU General Public License v2.0
781 stars 222 forks source link

Update find_qt macro usage in CMake #372

Closed tytan652 closed 2 years ago

tytan652 commented 2 years ago

Description

To make obs-browser work with https://github.com/obsproject/obs-studio/pull/6782.

QT_VERSION and find_qt definiation are not needed since the plugin is only buildable in-tree.

Motivation and Context

Allow to automatically use whether Qt5 or Qt6 is available and if both are present prefer Qt5.

How Has This Been Tested?

Check https://github.com/obsproject/obs-studio/pull/6782.

Types of changes

Checklist: