mumble/plugins
Septarius 5f5024f723
BUILD(plugin): Add QT_CORE_LIB to QT_VERSION Check
PluginComponents uses this check to determine if Qt library is already used so we don't want to force a Qt include.
Unity build triggered this since I believe it moved the header into a different compilation unit or compiled it first.

QT_VERSION requires #include <QtGlobal> before using it.
From: https://stackoverflow.com/questions/24899558/how-to-check-qt-version-to-include-different-header

QT_CORE_LIB is set by CMake
From: https://stackoverflow.com/questions/30840176/what-preprocessor-can-i-used-to-detect-if-qt-is-used-to-build-my-codes

Alternate solution could be using __if_include per https://forum.qt.io/post/564320 . But that appears to require C++17 mode.

Error log:
In file included from src/mumble/CMakeFiles/mumble.dir/Unity/unity_1_cxx.cxx:4:
... /src/mumble/PluginInstaller.cpp: In member function ‘void PluginInstaller::init()’:
... /src/mumble/PluginInstaller.cpp:149:92: error: no matching function for call to ‘QString::QString(mumble_version_t&)’
  149 |    .arg(pluginVersion == VERSION_UNKNOWN ? "Unknown" : static_cast< QString >(pluginVersion))

Co-authored-by: Robert Adam <dev@robert-adam.de>
2021-05-18 16:26:28 -06:00
..
amongus FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
aoc FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
arma2 FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
bf1 FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
bf2 FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
bf3 FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
bf4 FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
bf4_x86 FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
bf1942 FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
bf2142 FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
bfbc2 FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
bfheroes FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
blacklight FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
borderlands FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
borderlands2 FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
breach FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
cod2 FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
cod4 FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
cod5 FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
codmw2 FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
codmw2so FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
cs FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
css MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
dods MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
dys FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
etqw FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
ffxiv FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
ffxiv_x64 MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
gmod FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
gtaiv FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
gtasa FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
gtav FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
gw FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
hl2dm MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
insurgency FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
jc2 FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
l4d MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
l4d2 MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
link FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
lol FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
lotro FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
ql FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
rl FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
se FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
sr FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
sto MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
testPlugin FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
tf2 MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
ut3 FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
ut99 FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
ut2004 FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
wolfet FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
wow FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
wow_x64 FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
CMakeLists.txt FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
HostLinux.cpp FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
HostLinux.h MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
HostWindows.cpp FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
HostWindows.h MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
Module.cpp MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
Module.h MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
mumble_legacy_plugin.h FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
mumble_positional_audio_linux.h FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
mumble_positional_audio_main.h FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
mumble_positional_audio_utils.h FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
mumble_positional_audio_win32_internals.h FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
mumble_positional_audio_win32.h FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
MumbleAPI_v_1_0_x.h FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
MumblePlugin_v_1_0_x.h FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
null_plugin.cpp FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
PluginComponents_v_1_0_x.h BUILD(plugin): Add QT_CORE_LIB to QT_VERSION Check 2021-05-18 16:26:28 -06:00
Process.cpp FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
Process.h MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
ProcessLinux.cpp MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
ProcessLinux.h MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
ProcessWindows.cpp FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
ProcessWindows.h MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00