obs-studio/UI/frontend-plugins/decklink-captions
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
..
data decklink: Add ability to ingest/embed cea 708 captions 2020-11-01 22:28:49 -08:00
forms decklink: Add ability to ingest/embed cea 708 captions 2020-11-01 22:28:49 -08:00
CMakeLists.txt cmake,UI: Refactor find_qt macro 2022-07-26 17:34:26 +02:00
decklink-captions.cpp decklink: Don't load modules if Decklink not found 2022-02-26 15:44:00 -08:00
decklink-captions.h decklink: Add ability to ingest/embed cea 708 captions 2020-11-01 22:28:49 -08:00