0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00
Commit Graph

20 Commits

Author SHA1 Message Date
PatTheMav
710d99ef4d UI: Improve incremental compile times via explicit file includes
When a source file contains an explicit include with a filename
following the "moc_<actual-filename>.cpp" pattern, then CMake's
AUTOMOC generation tool will recognize the matching pair and generate
the replacement header file and add the required include directory
entries.

For all files which do contain Q_OBJECT or similar declarations but do
not have an explicit include directive, the global mocs_compilation.cpp
file will still be generated (which groups all "missing" generated
headers).

The larger this global file is, the more expensive incremental
compilation will be as this file (and all its contained generated
headers) will be re-generated regardless of whether actual changes
occurred.
2024-08-22 16:45:12 -04:00
tytan652
48f139729f UI,shared: Move Qt Wrappers to its own directory 2024-07-27 07:38:36 +02:00
Warchamp7
cb3955f8bc UI: Fix Top Patron threshold 2024-04-13 16:42:33 -07:00
gxalpha
24c97ed31b
UI: Replace SIGNAL and SLOT macros in about dialog 2023-07-21 13:16:04 +02:00
PatTheMav
2966c4030e libobs: Use static library for version string information
Switching to a static library that contains version information as
const char strings has multiple benefits:

* The version information provided externally via compiler definitions
  will fail compilation early if malformed
* An updated version string (which will happen with every commit) will
  not invalidate existing compilation units, because only the static
  library is affected by the change
* An update of the version change just requires a recompilation of the
  static library and a linker update
* An update of the version will _not_ infect the rest of the codebase
  (as it does currently, because everything includes obsconfig.h one
  way or another)
* Other modules which used the macro definition directly have been
  updated as much as possible to use the proper getter method from
  `libobs` instead (some Windows-specific modules use preprocessor
  string composition, the value has been added as a compiler definition
  directly in those cases)
* Because the impact of a version change due to a commit hash change
  is limited to the static library, ccache hit rates should be
  improved considerably
2023-05-27 16:48:24 -07:00
田七不甜
e1b02e5b8a UI: Remove tabs for About error statements
And change error statements to translation key
2023-05-18 16:13:59 -04:00
Ryan Foster
60139cbdfe Revert "UI: Remove bitness strings"
This reverts commit 64d4ae0106.
2023-04-01 16:35:10 -07:00
cg2121
64d4ae0106 UI: Remove bitness strings
This removes the bitness strings from the title bar and about dialog.
2023-02-18 15:09:11 -08:00
derrod
1eedf4b50d UI: Fix placeholder element not being deleted 2022-10-23 14:35:30 +02:00
derrod
602ad99581 UI: Hide donation CTA when running via Steam 2022-10-22 16:23:50 -07:00
PatTheMav
1f0f2be15e
UI: Update CMakeLists.txt for main OBS app 2022-03-16 23:11:58 +01:00
Richard Stanway
314a53872d UI: Update Contribute link in about box 2020-03-12 00:12:22 +01:00
Richard Stanway
5cfc16e9f9 UI: Call setWindowFlags before setupUi
For some reason this has a noticeable performance improvement,
presumably because Qt is notifying all the child widgets?
2020-03-04 23:20:19 +01:00
jp9000
f53df7da64 clang-format: Apply formatting
Code submissions have continually suffered from formatting
inconsistencies that constantly have to be addressed.  Using
clang-format simplifies this by making code formatting more consistent,
and allows automation of the code formatting so that maintainers can
focus more on the code itself instead of code formatting.
2019-06-23 23:49:10 -07:00
jp9000
528daad181 UI: Use escaped html for about dialog 2019-05-06 07:43:48 -07:00
jp9000
acc8419295 UI: Add Patreon contributors to About dialog 2019-05-05 20:00:26 -07:00
Clayton Groeneveld
736ebca259 UI: Show correct version in about dialog
This fixes an issue where the wrong version would
be shown in the about dialog when it is a rc release.
2019-04-02 23:16:50 -05:00
Richard Stanway
43fbefb9ef UI: Remove additional unused help icons 2019-02-12 12:55:31 +01:00
cg2121
79aaa32ba2 UI: Set about dialog as non-resizable 2018-09-08 13:28:56 -05:00
cg2121
36b0ef5b7e UI: Add about dialog 2018-09-07 06:08:31 -05:00