[official]qBittorrent 3.3.16 installer - Built with MSVC 2017

Testing the freshly baked, latest builds!

Moderator: Global Moderator

User avatar
Nemo
Administrator
Administrator
Posts: 1541
Joined: Sat Jul 24, 2010 6:24 pm

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

Post by Nemo » Tue Feb 02, 2016 6:43 pm

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.
Forum Rules and Guidelines

Forum Admin.
Dutch & Turkish Translator.


Image
Image

User avatar
Nemo
Administrator
Administrator
Posts: 1541
Joined: Sat Jul 24, 2010 6:24 pm

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

Post by Nemo » Tue Feb 09, 2016 6:49 pm

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.
Forum Rules and Guidelines

Forum Admin.
Dutch & Turkish Translator.


Image
Image

Papanikles
Member
Member
Posts: 65
Joined: Sun Apr 22, 2012 12:18 am

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

Post by Papanikles » Fri Feb 12, 2016 1:49 am

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.

User avatar
ciaobaby
Forum addict
Forum addict
Posts: 2771
Joined: Sat May 18, 2013 4:08 pm

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

Post by ciaobaby » Sat Feb 13, 2016 12:29 pm

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..
Smarter than the av-er-age bear, Boo Boo.

http://qbforums.shiki.hu/index.php/topic,3084.0.html

Papanikles
Member
Member
Posts: 65
Joined: Sun Apr 22, 2012 12:18 am

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

Post by Papanikles » Sat Feb 13, 2016 5:48 pm

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: 2411
Joined: Sun Jan 23, 2011 1:17 pm

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

Post by sledgehammer_999 » Sat Feb 13, 2016 5:51 pm

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

Papanikles
Member
Member
Posts: 65
Joined: Sun Apr 22, 2012 12:18 am

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

Post by Papanikles » Sat Feb 13, 2016 8:07 pm

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
Member
Member
Posts: 25
Joined: Sun Feb 28, 2016 9:01 pm

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

Post by Isabelxxx » Sun Mar 06, 2016 3:09 am

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: 2411
Joined: Sun Jan 23, 2011 1:17 pm

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

Post by sledgehammer_999 » Mon Mar 07, 2016 12:12 am

[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
Member
Member
Posts: 65
Joined: Sun Apr 22, 2012 12:18 am

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

Post by Papanikles » Tue Mar 08, 2016 12:11 am

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: 2411
Joined: Sun Jan 23, 2011 1:17 pm

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

Post by sledgehammer_999 » Wed Mar 09, 2016 8:27 pm

It probably is fixed.

Isabelxxx
Member
Member
Posts: 25
Joined: Sun Feb 28, 2016 9:01 pm

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

Post by Isabelxxx » Thu Mar 10, 2016 11:53 pm

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: 2411
Joined: Sun Jan 23, 2011 1:17 pm

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

Post by sledgehammer_999 » Sun Mar 13, 2016 8:19 pm

[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
Member
Member
Posts: 25
Joined: Sun Feb 28, 2016 9:01 pm

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

Post by Isabelxxx » Sun Mar 13, 2016 10:00 pm

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