From 8483b012bc54e56b78b4f114f402258abaeb2450 Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Sat, 15 Sep 2012 17:11:50 -0700 Subject: [PATCH] Finished "Compiling qBittorrent" section. --- Compiling-with-MSVC-2008(static-linkage).mediawiki | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Compiling-with-MSVC-2008(static-linkage).mediawiki b/Compiling-with-MSVC-2008(static-linkage).mediawiki index 46d1f6e..c602050 100644 --- a/Compiling-with-MSVC-2008(static-linkage).mediawiki +++ b/Compiling-with-MSVC-2008(static-linkage).mediawiki @@ -1,5 +1,3 @@ -This page is currently being worked on and constantly updated. Do not touch it. - This page describes how to compile qBittorrent using MSVC 2008 under Windows. This is tested under Windows XP sp2 but it should work the same under any other Windows version. Also it should build fine with MSVC 2010 with minor adjustments. Here the Express Edition of MSVC 2008 was used but the full edition must behave the same. === What you will need: === @@ -72,4 +70,14 @@ Let's assume that the working directory for our compilation will be '''C:\qBitto * Select the '''Build & Run''' item from the left and select the '''Qt Versions''' tab. * Click the '''Add...''' button and select the qmake.exe you just build. It should be in '''C:\qBittorrent\qt-everywhere-opensource-src-4.8.3\bin\qmake.exe''' * Name it something meaningful like "Qt 4.8.3 - MSVC2008" -* Apply the changes and close the window \ No newline at end of file +* Apply the changes and close the window + +=== Compiling qBittorrent === +* Go to [http://www.maxmind.com Maxmind] and download the GeoLite Country database in binary format. Here is the [http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz link]. +* Extract the ''GeoIP.dat'' file inside ''C:\qBittorrent\qbittorrent-3.0.2\src\geoip''. +* Launch Qt Creator and open the ''qbittorrent.pro'' file in ''C:\qBittorrent\qbittorrent-3.0.2'' +* From the Window that pops up select the Qt version you added above and specify '''release''' version. Also check the ''Use Shadow Building'' checkbox. You can also select where qBittorrent will be built if you want. +* Open the ''winconf.pri'' file and adjust the paths. Read the comments. '''NOTE:''' Replace any '\' with '/' in the paths to avoid some Qt warnings. +* Open the ''winconf-msvc.pri'' file and adjust the filename of the lib of Boost. +* Select Build->Build All +* After the compilation ends you should have ''qbittorrent.exe'' in ''\src\release''. "build folder" is where you chose qBittorrent to be build in the popup window. \ No newline at end of file