obs-studio/UI/frontend-plugins
tytan652 9c85ff8673 cmake,UI: Refactor find_qt macro
If QT_VERSION is not defined, it gets define with the AUTO value. And
its definition is moved to the helper file.

find_qt now:
- Check quietly for Qt5 and Qt6
- If QT_VERSION is set to AUTO. It checks firstly if Qt5 was found it
  will use it. If not it do the same for Qt6
- If QT_VERSION is set to 5 or 6, it checks if the choice was found and
  use it. And if not, it falls back to the other if found.
- If neither Qt5 or Qt6 are found, a fatal error is emitted.
- The macro saved the _QT_VERSION in the cache to replace QT_VERSION,
  so the process is not repeated each time that find_qt is used.
- When Qt::Gui is in the Linux component list, Qt::GuiPrivate is added.
  So using the versioned one is no longer required.
2022-07-26 17:34:26 +02:00
..
aja-output-ui cmake,UI: Refactor find_qt macro 2022-07-26 17:34:26 +02:00
decklink-captions cmake,UI: Refactor find_qt macro 2022-07-26 17:34:26 +02:00
decklink-output-ui cmake,UI: Refactor find_qt macro 2022-07-26 17:34:26 +02:00
frontend-tools cmake,UI: Refactor find_qt macro 2022-07-26 17:34:26 +02:00
CMakeLists.txt aja: Capture and Output plugin for AJA Video Systems IO devices 2021-11-23 20:31:11 -06:00