[official]qBittorrent 3.3.16 installer - Built with MSVC 2017

Testing the freshly baked, latest builds!
User avatar
Nemo
Administrator
Administrator
Posts: 1730
Joined: Sat Jul 24, 2010 6:24 pm

Re: [official]qBittorrent 3.3.1 installer - Built with MSVC 2013

Post by Nemo »

Interesting Github issue here: https://github.com/qbittorrent/qBittorrent/pull/4253#issuecomment-177006712

Would be good to close this topic and open a new one with qBittorrent v3.3.3 (sledge ::)?)
Last edited by Nemo on Tue Feb 02, 2016 7:02 pm, edited 1 time in total.
User avatar
Nemo
Administrator
Administrator
Posts: 1730
Joined: Sat Jul 24, 2010 6:24 pm

Re: [official]qBittorrent 3.3.3 installer - Built with MSVC 2013

Post by Nemo »

Here is the official release from qBittorrent v3.3.3.

qBittorrent v3.3.3:
http://www.fosshub.com/qBittorrent.html

Changelog:
http://qbittorrent.sourceforge.net/news.php

Libraries's version used:
Libtorrent: 1.0.8+git08d19b5
Qt: 5.5.1
Boost: 1.60.0

Sidenote:
Its not my build/release. All the credits go to sledge and the guys at Github for their hard work and contributions. I only updated this page with the current stable release.
Last edited by Nemo on Tue Feb 09, 2016 6:55 pm, edited 1 time in total.
Papanikles

Re: [official]qBittorrent 3.3.3 installer - Built with MSVC 2013

Post by Papanikles »

I saw QT/Boost/Libttorrent are different from wiki page. If someone can update the page will be great: https://github.com/qbittorrent/qBittorr ... linkage%29
Last edited by Papanikles on Sat Feb 13, 2016 3:27 pm, edited 1 time in total.
ciaobaby

Re: [official]qBittorrent 3.3.3 installer - Built with MSVC 2013

Post by ciaobaby »

If someone can update the page will be great:
Provided you have a 'github' account you can edit or update pages on the 'wiki' for yourself, should you find errors or inaccuracies..
Papanikles

Re: [official]qBittorrent 3.3.3 installer - Built with MSVC 2013

Post by Papanikles »

I like to help but I don't know how was configured QT5. I tried follow steps that wiki indicated for QT4 but QT5 have a different struct.
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: [official]qBittorrent 3.3.3 installer - Built with MSVC 2013

Post by sledgehammer_999 »

PS: Don't edit that wiki page. Create a new one.
Papanikles

Re: [official]qBittorrent 3.3.3 installer - Built with MSVC 2013

Post by Papanikles »

Thank you sledgehammer_999.

So, qBittorrent is now build with MSVC 2015, QT5.5.1, libttorrent 1.0.8, boost 1.60 and openssl 1.0.2e.

Qtcreater? Perl? NASM?

I'll try later compile. If I succeed I'll create a new wiki page.
Isabelxxx

Re: [official]qBittorrent 3.3.3 installer - Built with MSVC 2013

Post by Isabelxxx »

Any final official info about how to compile things with all the new changes?

Need it for testing qbit+libtorrent 1.1 with the last cache bug-fix.

https://github.com/arvidn/libtorrent/is ... -192729019
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: [official]qBittorrent 3.3.3 installer - Built with MSVC 2013

Post by sledgehammer_999 »

[quote="Isabelxxx"]
Any final official info about how to compile things with all the new changes?

Need it for testing qbit+libtorrent 1.1 with the last cache bug-fix.

https://github.com/arvidn/libtorrent/is ... -192729019
[/quote]

I just wrote a detailed guide. It describes the method used for the official build.
However, libtorent 1.1.x needs slightly different configure options:

Code: Select all

b2 -q --without-python --toolset=msvc-14.0 variant=release link=static runtime-link=static debug-symbols=on encryption=on crypto=openssl logging=off resolve-countries=off dht=on windows-version=xp character-set=unicode boost-link=static -sBOOST_ROOT="G:\qBittorrent\boost_1_60_0" include="G:\QBITTORRENT\install_msvc\base\include" library-path="G:\QBITTORRENT\install_msvc\base\lib" --prefix="G:\QBITTORRENT\install_msvc\base" define=_USING_V110_SDK71_ define=BOOST_ASIO_DISABLE_CONNECTEX define=BOOST_USE_WINAPI_VERSION=0x0501 cxxflags=/arch:IA32 --hash -j 12
Also in winconf-msvc.pri file you need to add the chrono and random boost libs. It should look like this:

Code: Select all

# Adapt the lib names/versions accordingly
CONFIG(debug, debug|release) {
  LIBS += libtorrentd.lib \
          libboost_system-vc90-mt-sgd-1_51.lib
} else {
  LIBS += libtorrent.lib \
          libboost_system-vc140-mt-s-1_60.lib \
          libboost_chrono-vc140-mt-s-1_60.lib \
          libboost_random-vc140-mt-s-1_60.lib
}
Here is the wiki page. Atm, github errors out when I try to link it to the main wiki page. I'll try again later.
Papanikles

Re: [official]qBittorrent 3.3.3 installer - Built with MSVC 2013

Post by Papanikles »

Great job, sledgehammer_999! The problem with boost 1.60 is fixed? I remember you recommend boost 1.55 for some reason.
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: [official]qBittorrent 3.3.3 installer - Built with MSVC 2013

Post by sledgehammer_999 »

It probably is fixed.
Isabelxxx

Re: [official]qBittorrent 3.3.3 installer - Built with MSVC 2013

Post by Isabelxxx »

Thanks sledgehammer_999 it finally worked for me

Found some little issues if you follow the guide as it is, maybe this helps to others.

At some point when building qBit in the Qtcreator in some of the includes in the .h files it looks for "install_msvc\base\include\boost" not boost-1_60 so it will not work.

Found the best approach is to rename all libs after copying them to Qbitorrent workdir and remove version numbers in all steps, like here:
https://github.com/qbittorrent/qBittorr ... linkage%29

In winconf.pri it would be:

Code: Select all

# Point this to the libtorrent include folder
INCLUDEPATH += $$quote(C:/qBittorrent/install_msvc/base/include/boost)
And also renaming the appropriate folder within include to "boost" too. For the guide, better that approach so every command is not version number related but more general, like the other guide. As soon as you update one lib you have to look through all the commands slowly to not miss a wrong name.
Apart from that the updated guide is perfect.

Can anyone edit the wiki? I mean, could I add those changes?

Also not sure why but zlib.pdb is not created at all with zlib-1.2.8 (although there is a zlib1.pdb); so I followed the guide without it and it worked. Not sure if that's important.
Last edited by Isabelxxx on Thu Mar 10, 2016 11:57 pm, edited 1 time in total.
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: [official]qBittorrent 3.3.3 installer - Built with MSVC 2013

Post by sledgehammer_999 »

[quote="Isabelxxx"]
Thanks sledgehammer_999 it finally worked for me

Found some little issues if you follow the guide as it is, maybe this helps to others.

At some point when building qBit in the Qtcreator in some of the includes in the .h files it looks for "install_msvc\base\include\boost" not boost-1_60 so it will not work.

Found the best approach is to rename all libs after copying them to Qbitorrent workdir and remove version numbers in all steps, like here:
https://github.com/qbittorrent/qBittorr ... linkage%29

In winconf.pri it would be:

Code: Select all

# Point this to the libtorrent include folder
INCLUDEPATH += $$quote(C:/qBittorrent/install_msvc/base/include/boost)
And also renaming the appropriate folder within include to "boost" too. For the guide, better that approach so every command is not version number related but more general, like the other guide. As soon as you update one lib you have to look through all the commands slowly to not miss a wrong name.
Apart from that the updated guide is perfect.

Can anyone edit the wiki? I mean, could I add those changes?

Also not sure why but zlib.pdb is not created at all with zlib-1.2.8 (although there is a zlib1.pdb); so I followed the guide without it and it worked. Not sure if that's important.
[/quote]

I specifically say what lines to edit and what lines to comment out in the .pri files. It means that you need to put the correct boost folder name and boost .lib names.
I removed zlib.pdb because that was a remnant from my old instructions.
Isabelxxx

Re: [official]qBittorrent 3.3.3 installer - Built with MSVC 2013

Post by Isabelxxx »

This is what you suggest
INCLUDEPATH += $$quote(G:/qBittorrent/install_msvc/base/include/boost-1_60)
This is what it should be
INCLUDEPATH += $$quote(C:/qBittorrent/install_msvc/base/include/boost)
I specifically say what lines to edit and what lines to comment out in the .pri files. It means that you need to put the correct boost folder name and boost .lib names.
I did it and independently to how yo edit that pri file, MSVC looks for "boost"at some point when compiling, not boost-1_60.

You can name the .../qBittorrent/boost-XXX folder whatever you want though as you suggest, but the subfolder within include must be boost.  That's why I say is not right as it is.
And then if you need that extra renaming step at the end because you added the version numbers to the folder names from the start, it simply makes more sense to remove them  from the names like the old guide workflow.

Not sure if I'm explaining it right.
Post Reply