Skip to content

Commit

Permalink
Added fmt library to about dialog and third_party.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
dchapyshev committed Dec 3, 2023
1 parent 97f1c06 commit 0fa8f28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/third_party.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Third-party components information
|------------|--------------------------------|--------------------------------------------------|
| asio | Boost Software License 1.0 | https://github.com/chriskohlhoff/asio |
| curl | Curl License (MIT-based) | https://github.com/curl/curl |
| fmt | MIT License | https://github.com/fmtlib/fmt |
| googletest | BSD 3-Clause License | https://github.com/google/googletest |
| icu | ICU License | https://github.com/unicode-org/icu |
| libvpx | BSD 3-Clause License | https://chromium.googlesource.com/webm/libvpx |
Expand Down
4 changes: 4 additions & 0 deletions source/common/ui/about_dialog.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@

#include <asio/version.hpp>
#include <curl/curl.h>
#include <fmt/core.h>
#include <google/protobuf/stubs/common.h>
#include <libyuv.h>
#include <openssl/crypto.h>
Expand Down Expand Up @@ -73,6 +74,7 @@ const char* kThirdParty[] =
{
"asio &copy; 2003-2018 Christopher M. Kohlhoff; Boost Software License 1.0",
"curl &copy; 1996-2022 Daniel Stenberg, and many contributors; CURL License",
"fmt &copy; 2012 Victor Zverovich and contributors; MIT License",
"icu &copy; 2016 Unicode, Inc. and others; ICU License",
"libvpx &copy; 2010, The WebM Project authors; BSD 3-Clause License",
"libyuv &copy; 2011 The LibYuv Project Authors; BSD 3-Clause License",
Expand Down Expand Up @@ -209,6 +211,8 @@ AboutDialog::AboutDialog(const QString& application_name, QWidget* parent)
add_version("asio", QString("%1.%2.%3")
.arg(ASIO_VERSION / 100000).arg(ASIO_VERSION / 100 % 1000).arg(ASIO_VERSION % 100));
add_version("curl", curl_version());
add_version("fmt", QString("%1.%2.%3")
.arg(FMT_VERSION / 10000).arg(FMT_VERSION / 100 % 1000).arg(FMT_VERSION % 100));

#if !defined(OS_WIN)
UVersionInfo icu_version;
Expand Down

0 comments on commit 0fa8f28

Please sign in to comment.