obs-studio/frontend/cmake
Sebastian Beckmann a9634db561 frontend/cmake: Enable Qt strict mode
Qt strict mode disables APIs deemed "'suboptimal' or 'dangerous'" [1]
and "clearly undesirable" [2] by Qt that will be removed in the long
term.
Usages of the APIs in OBS have been removed in the previous commits, and
by setting this flag we keep ourselves from using them again.
The versioning works in a way where e.g. a new addition to this in 6.9
would only be disabled if at least 0x060900 is set. By setting 0xFF0000,
we're effectively disabling any APIs that are deemed to be bad in any
future Qt version (up to 255).
While this could lead to OBS not being buildable against bleeding edge
Qt, it also means that it will be noticed early. Should the disabled API
turn out to be too complex to remove, the value can be downgraded to the
last working one then.

[1] qt/qtbase@3a6c8e02b6
[2] qt/qtbase@f9163ae7a8
2025-12-17 16:35:45 -05:00
..
linux Update translations from Crowdin 2025-09-08 22:38:40 -04:00
macos
templates
windows
feature-browserpanels.cmake
feature-idian-playground.cmake cmake: Fix order of frontend targets 2025-12-01 16:40:34 -05:00
feature-importers.cmake
feature-macos-update.cmake cmake: Fix order of frontend targets 2025-12-01 16:40:34 -05:00
feature-plugin-manager.cmake frontend: Provide UI for phase 1 of plugin manager 2025-08-28 14:29:10 -04:00
feature-restream.cmake
feature-sparkle.cmake cmake: Replace COMPILE_FLAGS with COMPILE_OPTIONS 2025-02-10 12:57:38 -05:00
feature-twitch.cmake
feature-whatsnew.cmake cmake: Fix order of frontend targets 2025-12-01 16:40:34 -05:00
feature-youtube.cmake
os-freebsd.cmake frontend: Cleanup Qt GuiPrivate linkage 2025-12-17 15:04:49 -05:00
os-linux.cmake frontend: Cleanup Qt GuiPrivate linkage 2025-12-17 15:04:49 -05:00
os-macos.cmake frontend: Adjust application shutdown logic 2025-12-01 16:40:34 -05:00
os-windows.cmake cmake: Fix order of frontend targets 2025-12-01 16:40:34 -05:00
ui-components.cmake frontend: Move idian widgets to shared/qt 2025-08-22 16:21:52 -04:00
ui-dialogs.cmake frontend: Move idian widgets to shared/qt 2025-08-22 16:21:52 -04:00
ui-docks.cmake
ui-models.cmake cmake: Fix order of frontend targets 2025-12-01 16:40:34 -05:00
ui-oauth.cmake
ui-qt.cmake frontend/cmake: Enable Qt strict mode 2025-12-17 16:35:45 -05:00
ui-settings.cmake
ui-utility.cmake cmake: Fix order of frontend targets 2025-12-01 16:40:34 -05:00
ui-widgets.cmake frontend: Add support loading/saving additional canvases 2025-05-02 14:35:22 -04:00
ui-wizards.cmake