Skip to content

Add compile definition to indicate using of libtorrent 2.0#15297

Merged
Chocobo1 merged 1 commit into
qbittorrent:masterfrom
Chocobo1:macro
Aug 8, 2021
Merged

Add compile definition to indicate using of libtorrent 2.0#15297
Chocobo1 merged 1 commit into
qbittorrent:masterfrom
Chocobo1:macro

Conversation

@Chocobo1

@Chocobo1 Chocobo1 commented Aug 7, 2021

Copy link
Copy Markdown
Member
  • Add compile definition to indicate using of libtorrent 2.0
    The compile definition is temporary which will be removed when qbt ditches libtorrent 1.x.

Part of code is adopted from #15242 (comment).

@Chocobo1 Chocobo1 added the Core label Aug 7, 2021
@Chocobo1 Chocobo1 added this to the 4.4.0 milestone Aug 7, 2021
@Chocobo1 Chocobo1 changed the title Define macro to indicate using of libtorrent 2.0 Add compile definition to indicate using of libtorrent 2.0 Aug 7, 2021
The compile definition is temporary which will be removed when qbt
ditches libtorrent 1.x.
@Chocobo1 Chocobo1 merged commit 138c911 into qbittorrent:master Aug 8, 2021
@Chocobo1 Chocobo1 deleted the macro branch August 8, 2021 05:27
@Chocobo1

Chocobo1 commented Aug 8, 2021

Copy link
Copy Markdown
Member Author

For anyone using conf.pri.windows:
Enable this if compiling with libtorrent 2.x: DEFINES += QBT_USES_LIBTORRENT2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants