Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:opensuse_zh
qBittorrent-Enhanced-Edition
qbittorrent-fix_boost_1.66_build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qbittorrent-fix_boost_1.66_build.patch of Package qBittorrent-Enhanced-Edition
--- CMakeLists.txt | 6 +++--- src/app/stacktrace.cpp | 9 +++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cd4cb5a16..4933d10b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,11 +7,11 @@ project(qBittorrent ) # version requirements - older versions may work, but you are on your own -set(minBoostVersion 1.71) -set(minQt5Version 5.15.2) +set(minBoostVersion 1.66) +set(minQt5Version 5.12.7) set(minQt6Version 6.2) set(minOpenSSLVersion 1.1.1) -set(minLibtorrent1Version 1.2.18) +set(minLibtorrent1Version 1.2.13) set(minLibtorrentVersion 2.0.8) set(minZlibVersion 1.2.11) diff --git a/src/app/stacktrace.cpp b/src/app/stacktrace.cpp index 77f7e7cad..05d06d682 100644 --- a/src/app/stacktrace.cpp +++ b/src/app/stacktrace.cpp @@ -30,7 +30,16 @@ #include <boost/stacktrace.hpp> +#include <sstream> +#include <boost/version.hpp> + std::string getStacktrace() { +#if BOOST_VERSION >= 107100 return boost::stacktrace::to_string(boost::stacktrace::stacktrace()); +#else + std::ostringstream out; + out << boost::stacktrace::stacktrace(); + return out.str(); +#endif } -- 2.39.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor