obs-studio/UI/frontend-plugins/frontend-tools
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 Update translations from Crowdin 2022-02-11 00:34:08 +00:00
forms frontend-tools: Add edit script button 2021-03-08 08:37:37 -08:00
CMakeLists.txt cmake,UI: Refactor find_qt macro 2022-07-26 17:34:26 +02:00
auto-scene-switcher-nix.cpp frontend-tools: Free xdisplay on Linux auto scene switcher 2020-09-20 13:09:48 -05:00
auto-scene-switcher-osx.mm frontend-tools: Free xdisplay on Linux auto scene switcher 2020-09-20 13:09:48 -05:00
auto-scene-switcher-win.cpp frontend-tools: Free xdisplay on Linux auto scene switcher 2020-09-20 13:09:48 -05:00
auto-scene-switcher.cpp frontend-tools: Cleanup libobs C++ type use 2021-11-26 23:23:52 +13:00
auto-scene-switcher.hpp frontend-tools: Free xdisplay on Linux auto scene switcher 2020-09-20 13:09:48 -05:00
captions-handler.cpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
captions-handler.hpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
captions-mssapi-stream.cpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
captions-mssapi-stream.hpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
captions-mssapi.cpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
captions-mssapi.hpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
captions.cpp frontend-tools: Cleanup libobs C++ type use 2021-11-26 23:23:52 +13:00
captions.hpp frontend-plugins: Abstract captions 2017-04-30 08:28:07 -07:00
frontend-tools-config.h.in UI: Update CMakeLists.txt for main OBS app 2022-03-16 23:11:58 +01:00
frontend-tools.c UI: Update CMakeLists.txt for main OBS app 2022-03-16 23:11:58 +01:00
output-timer.cpp frontend-tools: Cleanup libobs C++ type use 2021-11-26 23:23:52 +13:00
output-timer.hpp frontend-tools: Add option to pause output timer when rec is paused 2019-07-17 00:02:15 -05:00
scripts.cpp UI: Fix crash on macOS if no python path is set in configuration 2022-07-24 10:11:54 +10:00
scripts.hpp UI: Use std::unique_ptr for ui variables 2022-02-20 00:30:37 -08:00
tool-helpers.hpp frontend-tools: Move source helper functions to a header 2016-12-23 10:37:10 -08:00