Biswapriyo Nath
f6eb29d800
Add windows-clang support ( #15115 )
...
This allows to build with clang targeting x86_64-w64-windows-gnu.
3 years ago
Chocobo1
24fa9e32b0
Set source character sets to UTF-8
...
This suppress warning C4819.
https://docs.microsoft.com/en-us/cpp/build/reference/utf-8-set-source-and-executable-character-sets-to-utf-8?view=msvc-160
4 years ago
Chocobo1
e8b5508463
Remove unused define
4 years ago
Chocobo1
d70b893852
Bump project requirement to C++17
4 years ago
Chocobo1
ccbd9c83e2
Update libtorrent build defines on Windows
...
`TORRENT_USE_LIBCRYPTO` replaced `TORRENT_USE_OPENSSL` since OpenSSL 1.1.
`TORRENT_DISABLE_RESOLVE_COUNTRIES` has been removed since libtorrent 1.2.
5 years ago
Chocobo1
7276a79cef
Call Windows API directly
...
We already bumped the OS requirement to Windows 7 and those functions
can be called directly without the need to load them first.
5 years ago
Chocobo1
2f0ae7a7d8
Raise minimum support to Windows 7
5 years ago
Chocobo1
8220f8d003
Remove MSVC-only compilation flags
...
Our code base is able to compile without warnings
even when these flags removed.
6 years ago
Chocobo1
7c8948c45e
Move _FILE_OFFSET_BITS to its place
...
_FILE_OFFSET_BITS is only useful for glibc.
6 years ago
Chocobo1
e418ea03e2
Move __USE_W32_SOCKETS to its place
...
From boost.asio documentation:
> The following platforms may also work:
> Win32 using Cygwin. (__USE_W32_SOCKETS must be defined.)
6 years ago
Chocobo1
38b6ee9e75
Remove workaround for boost 1.39
...
... by raising minimum version to 1.40.
Bug report: https://svn.boost.org/trac10/ticket/3095
6 years ago
Chocobo1
e47d7fe55c
Remove outdated defines
6 years ago
Chocobo1
33bb3719d7
Move optimization flags
...
Those flags aren't strictly required when compiling but they are
recommended to be on.
7 years ago
Nick Korotysh
7712d0ada0
Allow to disable Stacktrace support
...
Enable backtrace stuff only if GNU C library used, because current
backtrace implementation based on <execinfo.h> , which is not a
part of standard C library, it is a GNU extension.
This will be usefull when building with custom POSIX-compilant C
library (like musl) and no <execinfo.h> available.
Note: configure script will detect presence of <execinfo.h> and
enable/disable feature depending on it.
Feature is enabled by default.
7 years ago
Chocobo1
644e7d0450
Use dynamic linking for SetSuspendState function
7 years ago
Vladimir Golovnev (Glassez)
61d9fcd753
Reformat Windows build configuration files
7 years ago
Chocobo1
39b56ac598
Move NOMINMAX define
7 years ago
sledgehammer999
2d119c3e9d
Leave a comment about boost DEFINE and RC_1_1. Issues #7050 #6761 .
8 years ago
Chocobo1
ca8ea73ddb
Fix NTDDI_VERSION define
...
Fixup of 5958585e3a
8 years ago
Chocobo1
b779330163
code formatting
8 years ago
Chocobo1
5958585e3a
Add NTDDI_VERSION define
8 years ago
Chocobo1
9cb01dedba
Avoid spawning a new explorer.exe process when selecting "Open containing
...
folder". Closes #5564 .
8 years ago
Boris Nagaev
39d8f09c38
winconf.pri: change example library path for build
...
Path with "<", ">" causes errors when building in MXE.
http://mxe.cc/
Removing or commenting out these hardcoded paths is not
desirable, as they serve as a guide (on what to edit) for
the newcomers that want to build on windows.
See https://github.com/qbittorrent/qBittorrent/pull/4824#issuecomment-186936960
9 years ago
Boris Nagaev
fa2a1ad6d3
winconf.pri: use mask "win32-g++*"
...
Mask "win32-g++" doesn't match MXE.
Mask "win32-g++*" match MXE.
See http://stackoverflow.com/a/14523545
See http://mxe.cc
9 years ago
sledgehammer999
3a99e3b755
Various updates on the Windows configuration file.
9 years ago
Chocobo1
077e94342f
Add path to openssl, cleanups
9 years ago
Vladimir Golovnev (Glassez)
79976fbfce
Implement new GeoIPManager class.
9 years ago
Vladimir Golovnev (Glassez)
ff9a281b72
Change project directory structure.
...
Change project directory structure according to application structure.
Change 'nox' configuration option to something more meaningful 'nogui'.
Rename 'Icons' folder to 'icons' (similar to other folders).
Partially add 'nowebui' option support.
Remove QConf project file.
10 years ago
Nick Tiskov
385bbe0df6
Normalize EOL
10 years ago
sledgehammer999
575125485e
Enable backtrace support for mingw builds too.
10 years ago
Nick Tiskov
02c161be60
Don't force stacktrace with mingw
12 years ago
Nick Tiskov
314fc003b3
Use <OS_name>conf.pri file to control libz linkage
12 years ago
sledgehammer999
c5b5241964
Enable backtrace support by default on Windows.
12 years ago
sledgehammer999
1f0d4ce871
Move Windows backtrace functionality to the windows specific *.pri files.
12 years ago
Nick Tiskov
f55ea07c1d
Move QTPLUGIN qmake macro to src.pro.
12 years ago
Nick Tiskov
0cdb833aa6
Use qico plugin in static build. Required for RSS favicon capabilities.
12 years ago
sledgehammer999
37dec0d927
Some typo fix and library names fix.
12 years ago
sledgehammer999
b8720b8d1c
Updated Windows build conf files.
12 years ago
Christophe Dumez
188a8ae4f5
Add MinGW-specific project file (sledgehammer999)
14 years ago
Christophe Dumez
c05e6ba580
Fix compilation error on Windows
...
Fix possible encoding problem on Windows (torrent creation tool)
Fix compilation with boost >= v1.46
14 years ago
Christophe Dumez
214c3cba73
Added WPATH define
14 years ago
Christophe Dumez
7a7d351017
Fix compilation in release mode
14 years ago
Christophe Dumez
1b08c087c0
FEATURE: Added auto-suspend upon downloads completion feature
14 years ago
Christophe Dumez
8a5dc1f239
Fix compilation on Windows (Remove using namespace libtorrent; from headers)
14 years ago
Christophe Dumez
61208fce13
Another compilation Fix for Windows
14 years ago
Christophe Dumez
8a1e79d22f
Restructured the project file
...
Move OS specific configuration to separate project files
14 years ago
Ishan Arora
fa3e70316e
moved windows path configs from src/src.pro to winconf.pri
14 years ago