obs-studio/UI
PatTheMav 32cfa1626f UI: Fix missing support for portable configuration files
Windows and Linux allow the storage of configuration files relative
to the binary location, which is enabled by default on Windows and has
to be explicitly enabled on Linux.

This was originally conflated with the LINUX_PORTABLE build setting
which also allowed the application itself to be run from non-default
locations on a Linux system.

This change reintroduces the functionality behind the
ENABLE_PORTABLE_CONFIG build setting on Linux.

It also adds necessary code to make this setting compatible with the
recently introduced relocatable settings code changes:

When portable mode is enabled, user configuration, scene collections,
and profiles are stored in the config directory created for portable
mode.
2024-09-26 14:39:44 -04:00
..
cmake UI: Fix missing support for portable configuration files 2024-09-26 14:39:44 -04:00
data UI: Add migration for relative coordinate system 2024-08-27 23:58:51 +02:00
forms UI: Fix Qt UIC warning in settings UI 2024-08-31 12:06:38 -04:00
frontend-plugins cmake: Update supported CMake version range to 3.28 and 3.30 2024-09-13 14:42:32 -04:00
importers UI/importers: Ignore empty Streamlabs hotkeys 2023-08-12 22:31:01 -04:00
models UI: Remove legacy nlohmann workaround (Ubuntu 22.04) 2024-08-23 13:44:04 -04:00
obs-frontend-api cmake: Update supported CMake version range to 3.28 and 3.30 2024-09-13 14:42:32 -04:00
update UI: Split global config into app and user config 2024-09-12 16:18:46 -04:00
win-update/updater cmake: Update supported CMake version range to 3.28 and 3.30 2024-09-13 14:42:32 -04:00
absolute-slider.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
absolute-slider.hpp UI,shared: Move SliderIgnoreScroll to its own directory 2024-07-27 07:38:36 +02:00
adv-audio-control.cpp UI: Split global config into app and user config 2024-09-12 16:18:46 -04:00
adv-audio-control.hpp UI: Use signal vector for advanced audio dialog 2024-08-17 17:15:10 -07:00
api-interface.cpp UI: Fix outdated scene collection and profile method names 2024-09-16 15:53:51 -04:00
audio-encoders.cpp clang-format: Set AllowShortLambdasOnASingleLine to Inline 2023-07-15 16:14:55 -07:00
audio-encoders.hpp UI: Add Opus bitrate map and per encoder bitrate list 2023-03-19 17:27:43 +01:00
auth-base.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
auth-base.hpp clang-format: Set AllowAllConstructorInitializersOnNextLine to false 2023-07-15 16:14:55 -07:00
auth-listener.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
auth-listener.hpp UI: Properly verify state parameter for YouTube auth 2021-09-15 06:16:29 -07:00
auth-oauth.cpp UI: Replace remaining SIGNAL/SLOT macros 2024-08-31 11:39:08 -04:00
auth-oauth.hpp UI: Fix crash on macOS when closing OAUTH browser panel 2023-05-08 18:22:27 -04:00
auth-restream.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
auth-restream.hpp UI: Refactor integration and browser docks 2023-03-17 20:21:08 +11:00
auth-twitch.cpp UI: Split global config into app and user config 2024-09-12 16:18:46 -04:00
auth-twitch.hpp UI: Removed unused friend classes 2024-05-28 15:04:05 -04:00
auth-youtube.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
auth-youtube.hpp UI: Initialize YoutubeChatDock chat input members in constructor 2024-06-15 16:06:38 -07:00
balance-slider.hpp
basic-controls.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
basic-controls.hpp UI: Separate controls dock from the main window 2024-06-05 17:39:54 -04:00
clickable-label.hpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
CMakeLists.txt cmake: Update supported CMake version range to 3.28 and 3.30 2024-09-13 14:42:32 -04:00
context-bar-controls.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
context-bar-controls.hpp UI: Add application audio capture to toolbar 2022-07-23 17:41:34 -07:00
display-helpers.hpp Update copyrights/names 2023-05-20 01:31:18 -07:00
ffmpeg-utils.cpp UI: Remove compatibility with FFmpeg < 6.1 2024-08-23 13:44:04 -04:00
ffmpeg-utils.hpp UI: Refactor getting the default encoder for a format 2023-08-01 11:43:38 -07:00
focus-list.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
focus-list.hpp UI: Add ability to reorder filters by drag & drop 2023-06-21 15:33:48 -07:00
goliveapi-censoredjson.cpp UI: Add eRTMP Multitrack Video Output 2024-06-04 20:50:46 -04:00
goliveapi-censoredjson.hpp UI: Add eRTMP Multitrack Video Output 2024-06-04 20:50:46 -04:00
goliveapi-network.cpp UI: Only cache multitrack config URL startup argument 2024-06-19 12:08:52 -04:00
goliveapi-network.hpp UI: Remove QFuture usage 2024-07-10 16:12:53 -04:00
goliveapi-postdata.cpp UI: Add supported codecs to GetClientConfiguration request 2024-06-19 12:27:13 -04:00
goliveapi-postdata.hpp UI: Add eRTMP Multitrack Video Output 2024-06-04 20:50:46 -04:00
horizontal-scroll-area.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
horizontal-scroll-area.hpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
hotkey-edit.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
hotkey-edit.hpp clang-format: Set AllowAllConstructorInitializersOnNextLine to false 2023-07-15 16:14:55 -07:00
item-widget-helpers.cpp Update copyrights/names 2023-05-20 01:31:18 -07:00
item-widget-helpers.hpp Update copyrights/names 2023-05-20 01:31:18 -07:00
lineedit-autoresize.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
lineedit-autoresize.hpp UI: Add vertically expanding LineEdit Widget 2022-06-27 14:35:01 -04:00
log-viewer.cpp UI: Split global config into app and user config 2024-09-12 16:18:46 -04:00
log-viewer.hpp UI: Create Log Viewer window XML file, migrate code 2022-04-10 11:52:11 +10:00
media-controls.cpp UI: Split global config into app and user config 2024-09-12 16:18:46 -04:00
media-controls.hpp UI,shared: Move Qt Wrappers to its own directory 2024-07-27 07:38:36 +02:00
menu-button.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
menu-button.hpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
multitrack-video-error.cpp UI: Translate Multitrack Video error dialog buttons 2024-06-11 13:22:31 -04:00
multitrack-video-error.hpp UI: Add eRTMP Multitrack Video Output 2024-06-04 20:50:46 -04:00
multitrack-video-output.cpp UI: Enable BPM for multitrack video 2024-09-05 16:38:58 -04:00
multitrack-video-output.hpp UI: Remove QFuture usage 2024-07-10 16:12:53 -04:00
multiview.cpp UI: Calculate label position using height and border 2024-05-25 16:55:02 -07:00
multiview.hpp UI: Adjust multiview border size 2024-05-25 16:55:02 -07:00
mute-checkbox.hpp UI: Add unassigned indicator and warning to mixer 2023-03-25 16:08:25 -07:00
noncheckable-button.hpp UI: Separate controls dock from the main window 2024-06-05 17:39:54 -04:00
obf.c Update source code formatting with clang-format 17.0.3 2024-03-11 15:55:30 -04:00
obf.h
obs-app-theming.cpp UI: Split global config into app and user config 2024-09-12 16:18:46 -04:00
obs-app-theming.hpp UI: Add composable themes feature 2024-04-21 00:01:16 -04:00
obs-app.cpp UI: Fix missing support for portable configuration files 2024-09-26 14:39:44 -04:00
obs-app.hpp UI: Split global config into app and user config 2024-09-12 16:18:46 -04:00
obs-proxy-style.cpp Revert "UI: Add workaround for Qt tooltip stylesheet bug" 2023-09-29 18:00:04 +02:00
obs-proxy-style.hpp UI: Enforce completely Fusion Qt style on Linux 2024-05-25 16:58:26 -07:00
obs.manifest UI: Remove unsupported Windows versions from manifest 2023-02-01 23:00:50 +01:00
obs.rc.in Update copyrights/names 2023-05-20 01:31:18 -07:00
platform-osx.mm UI: Inline macOS 13 check 2024-08-23 22:09:48 -04:00
platform-windows.cpp UI: Split global config into app and user config 2024-09-12 16:18:46 -04:00
platform-x11.cpp UI: Add HighContrastEnabled implementation for Linux 2024-04-21 00:01:16 -04:00
platform.hpp UI: Inline macOS 13 check 2024-08-23 22:09:48 -04:00
preview-controls.cpp UI: Add preview scrollbars 2024-08-18 03:18:03 +02:00
preview-controls.hpp UI: Add preview scrollbars 2024-08-18 03:18:03 +02:00
qt-display.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
qt-display.hpp UI: Fix crash at render_display while shutdown on macOS 2023-08-15 13:40:09 +09:00
remote-text.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
remote-text.hpp Update copyrights/names 2023-05-20 01:31:18 -07:00
scene-tree.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
scene-tree.hpp UI: Remove workaround for current scene being deselectable on Qt 6.4.3+ 2023-02-11 16:01:27 -08:00
screenshot-obj.hpp UI: Add pragma once to ScreenshotObj header 2024-08-11 09:53:34 +10:00
source-label.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
source-label.hpp UI: Fix warnings for Qt 5.15 2020-06-21 18:23:05 -07:00
source-tree.cpp UI,shared: Move Qt Wrappers to its own directory 2024-07-27 07:38:36 +02:00
source-tree.hpp UI: Use OBSSourceLabel for item widget labels 2024-05-11 17:35:04 -07:00
system-info-macos.mm UI: Add eRTMP Multitrack Video Output 2024-06-04 20:50:46 -04:00
system-info-posix.cpp UI: Add eRTMP Multitrack Video Output 2024-06-04 20:50:46 -04:00
system-info-windows.cpp UI: Remove GPU LUID from system info for Multitrack Video 2024-06-06 14:02:21 -04:00
system-info.hpp UI: Add eRTMP Multitrack Video Output 2024-06-04 20:50:46 -04:00
ui-config.h.in UI: Fix Qt platform override in CMake 3 2024-06-05 18:33:47 -04:00
ui-validation.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
ui-validation.hpp UI: Add Start Streaming settings check on start 2019-12-11 01:50:41 -08:00
undo-stack-obs.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
undo-stack-obs.hpp UI: Optimize undo/redo functions with constant references 2022-01-19 21:39:43 +01:00
url-push-button.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
url-push-button.hpp UI: Upgrade stream link hotlink to a button 2019-10-30 12:09:07 -07:00
visibility-item-widget.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
visibility-item-widget.hpp UI: Use OBSSourceLabel for item widget labels 2024-05-11 17:35:04 -07:00
volume-control.cpp UI: Fix low value of std::clamp gets greater than high value 2024-09-18 17:15:02 -04:00
volume-control.hpp UI: Update volume meter appearance 2024-06-03 17:20:21 -04:00
win-dll-blocklist.c UI: Block Elgato Stream Deck plugin before 5.5.2.0 to avoid crashes 2024-03-08 21:33:44 -05:00
window-basic-about.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
window-basic-about.hpp
window-basic-adv-audio.cpp UI: Split global config into app and user config 2024-09-12 16:18:46 -04:00
window-basic-adv-audio.hpp UI: Use signal vector for advanced audio dialog 2024-08-17 17:15:10 -07:00
window-basic-auto-config-test.cpp UI: Add Amazon IVS auto config QoL changes 2024-09-06 13:40:07 -04:00
window-basic-auto-config.cpp UI: Rewrite profile system to enable user-provided storage location 2024-09-12 16:18:46 -04:00
window-basic-auto-config.hpp UI: Add Amazon IVS auto config QoL changes 2024-09-06 13:40:07 -04:00
window-basic-filters.cpp UI,shared: Move Qt Wrappers to its own directory 2024-07-27 07:38:36 +02:00
window-basic-filters.hpp UI,shared: Move OBSPropertiesView to its own directory 2024-07-27 07:38:36 +02:00
window-basic-interaction.cpp UI: Split global config into app and user config 2024-09-12 16:18:46 -04:00
window-basic-interaction.hpp UI,shared: Move OBSPropertiesView to its own directory 2024-07-27 07:38:36 +02:00
window-basic-main-browser.cpp UI,shared: Move Qt Wrappers to its own directory 2024-07-27 07:38:36 +02:00
window-basic-main-dropfiles.cpp UI,shared: Move Qt Wrappers to its own directory 2024-07-27 07:38:36 +02:00
window-basic-main-icons.cpp libobs, UI: Add OBS_ICON_TYPE_PROCESS_AUDIO_OUTPUT 2022-07-23 17:41:34 -07:00
window-basic-main-outputs.cpp UI: Rewrite profile system to enable user-provided storage location 2024-09-12 16:18:46 -04:00
window-basic-main-outputs.hpp UI: Remove QFuture usage 2024-07-10 16:12:53 -04:00
window-basic-main-profiles.cpp UI: Rewrite profile system to enable user-provided storage location 2024-09-12 16:18:46 -04:00
window-basic-main-scene-collections.cpp UI: Rewrite scene collection system to enable user-provided storage 2024-09-12 16:18:46 -04:00
window-basic-main-screenshot.cpp UI: Cleanup frontend event handling 2024-08-10 17:35:22 -07:00
window-basic-main-transitions.cpp UI: Split global config into app and user config 2024-09-12 16:18:46 -04:00
window-basic-main.cpp UI: Rewrite scene collection system to enable user-provided storage 2024-09-12 16:18:46 -04:00
window-basic-main.hpp UI: Rewrite scene collection system to enable user-provided storage 2024-09-12 16:18:46 -04:00
window-basic-preview.cpp UI: Split global config into app and user config 2024-09-12 16:18:46 -04:00
window-basic-preview.hpp UI: Add preview scrollbars 2024-08-18 03:18:03 +02:00
window-basic-properties.cpp UI: Split global config into app and user config 2024-09-12 16:18:46 -04:00
window-basic-properties.hpp UI: Remove Qt 5 ifdef guards and code 2023-07-12 13:22:13 -04:00
window-basic-settings-a11y.cpp UI: Split global config into app and user config 2024-09-12 16:18:46 -04:00
window-basic-settings-appearance.cpp UI: Split global config into app and user config 2024-09-12 16:18:46 -04:00
window-basic-settings-stream.cpp UI: Split global config into app and user config 2024-09-12 16:18:46 -04:00
window-basic-settings.cpp UI: Fix config class mismatch in OBSApp class 2024-09-18 16:29:01 -04:00
window-basic-settings.hpp UI: Add Multitrack Video settings 2024-06-04 20:50:46 -04:00
window-basic-source-select.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
window-basic-source-select.hpp Update copyrights/names 2023-05-20 01:31:18 -07:00
window-basic-stats.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
window-basic-stats.hpp UI: Fix stats widget appearance on Yami themes 2022-10-19 15:02:25 -04:00
window-basic-status-bar.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
window-basic-status-bar.hpp UI: Make status bar record output a weak ref 2024-06-03 17:00:12 -04:00
window-basic-transform.cpp UI: Fix Qt 6.7 checkbox signal deprecations 2024-05-28 16:29:26 -04:00
window-basic-transform.hpp UI: Use vector for signals in source tree/transform 2024-02-03 17:19:51 -06:00
window-basic-vcam-config.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
window-basic-vcam-config.hpp UI: Use main video on the virtual camera if program 2023-05-30 16:16:07 -07:00
window-basic-vcam.hpp UI,plugin: Refactor virtual camera enablement 2024-03-30 16:43:30 -07:00
window-dock-browser.cpp UI: Store dock titles in BrowserDock instead of relying on Qt 2023-08-15 12:27:18 -04:00
window-dock-browser.hpp UI: Store dock titles in BrowserDock instead of relying on Qt 2023-08-15 12:27:18 -04:00
window-dock-youtube-app.cpp UI: Split global config into app and user config 2024-09-12 16:18:46 -04:00
window-dock-youtube-app.hpp UI: Set browser dock title in constructor 2023-08-15 12:27:18 -04:00
window-dock.cpp UI: Split global config into app and user config 2024-09-12 16:18:46 -04:00
window-dock.hpp UI: Store dock titles in BrowserDock instead of relying on Qt 2023-08-15 12:27:18 -04:00
window-extra-browsers.cpp UI: Split global config into app and user config 2024-09-12 16:18:46 -04:00
window-extra-browsers.hpp clang-format: Set AllowAllConstructorInitializersOnNextLine to false 2023-07-15 16:14:55 -07:00
window-importer.cpp UI: Rewrite scene collection system to enable user-provided storage 2024-09-12 16:18:46 -04:00
window-importer.hpp UI: Add advanced scene collection importer 2020-02-16 17:56:06 +13:00
window-log-reply.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
window-log-reply.hpp Update copyrights/names 2023-05-20 01:31:18 -07:00
window-main.hpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
window-missing-files.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
window-missing-files.hpp UI: Add missing files dialog 2021-01-17 10:31:59 +13:00
window-namedialog.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
window-namedialog.hpp Update copyrights/names 2023-05-20 01:31:18 -07:00
window-permissions.cpp UI: Split global config into app and user config 2024-09-12 16:18:46 -04:00
window-permissions.hpp Update copyrights/names 2023-05-20 01:31:18 -07:00
window-projector.cpp UI: Split global config into app and user config 2024-09-12 16:18:46 -04:00
window-projector.hpp UI: Move projector rename signal 2024-05-11 17:51:47 -07:00
window-remux.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
window-remux.hpp clang-format: Set AllowAllConstructorInitializersOnNextLine to false 2023-07-15 16:14:55 -07:00
window-youtube-actions.cpp UI: Rewrite profile system to enable user-provided storage location 2024-09-12 16:18:46 -04:00
window-youtube-actions.hpp UI: Add "YouTube Control Panel" dock panel 2023-08-02 17:49:05 -07:00
youtube-api-wrappers.cpp UI: Improve incremental compile times via explicit file includes 2024-08-22 16:45:12 -04:00
youtube-api-wrappers.hpp UI: Add "YouTube Control Panel" dock panel 2023-08-02 17:49:05 -07:00