Commit graph

54 commits

Author SHA1 Message Date
Chocobo1
efe50baddc
Add c++14 to QBT_ADD_CONFIG when appropriate 2019-04-01 16:14:28 +08:00
Vladimir Golovnev (Glassez)
302c99d7d5
Drop support of libtorrent < 1.1.10 2019-01-11 15:13:17 +03:00
Chocobo1
814488863d
Enforce C++14 requirement 2018-12-24 15:11:44 +08:00
Chocobo1
6bd5d0b8e9
Cleanup build scripts 2018-12-24 15:10:57 +08:00
Chocobo1
2a428ffd37
Use CC, CXX from environment when available 2018-12-08 13:15:18 +08:00
Chocobo1
8a6cac8338
Make OpenSSL a direct dependency 2018-12-05 13:28:42 +08:00
sledgehammer999
63e4dc566a
Autotools: Replace CPPFLAGS with CXXFLAGS 2018-12-04 16:54:51 +02:00
sledgehammer999
d04d6bfcf8
Autotools: Print Boost LDFLAGS nicer 2018-12-04 16:53:48 +02:00
sledgehammer999
8f5bbe24ce
Autotools: Improve handling of C++ mode 2018-12-04 01:42:14 +02:00
Chocobo1
819a84eb7a
Implement proper C++11 mode detection
Newer compilers have C++14 mode as default and package maintainers tend
to not specifying a C++ version when building a package, this causes
compatibility issues when (for example) qbt is compiled in C++11 and
dependency lib is in C++14. See issue #9485.

What this commit does:
1. Checks if compiler supports at least C++11
2. Checks if compiler is set in at least C++11 mode
2018-11-13 23:06:41 +08:00
Chocobo1
8be949fec3
Revise usage of BOOST_NO_CXX11_RVALUE_REFERENCES
Now the flag will be present when building with boost version <= 1.59.
Closes #8990.
2018-06-13 13:51:58 +08:00
sledgehammer999
c5472edc6f
Bump to v4.2.0alpha 2018-05-05 00:53:20 +03:00
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.
2018-04-10 20:51:11 +03:00
sledgehammer999
be5600dae2
Update configure version info. 2018-01-03 23:18:00 +02:00
sledgehammer999
e6ce1dd0b0
configure: Parse all compiler related flags together. 2018-01-03 01:16:39 +02:00
sledgehammer999
25ab660c14
Fix splitting of compiler flags in configure.
Autoconf removes a set of [] during script translation, resulting in a wrong sed command.
2018-01-02 18:15:49 +02:00
Thomas Piccirello
ddd6c82dd7 Use https for www.qbittorrent.org 2017-12-26 18:22:03 -05:00
Chocobo1
31607c4d18
Simplify AX_BOOST_BASE usage
Regenerate configure
2017-11-17 18:25:46 +08:00
sledgehammer999
173f6fd75d
Check for Qt5Svg when configuring. 2017-08-18 23:00:53 +03:00
sledgehammer999
e2893fe68f
Error out in configure script if the proper Qt/qmake version isn't found.
Closes #7250.
Partially reverts e64bb1de8c.
2017-08-13 20:29:53 +03:00
Anton-Latukha
e00c96df99 systemd service with user switch.
rm previous systemd unit service

cmake now placing new file 'qbittorrent-nox@.service.in'

systemd service now "Type=simple"
2017-06-12 22:58:10 +03:00
Chocobo1
a35c6426ab Specify lib requirement: zlib >= 1.2.5.2 2017-04-20 22:26:35 +08:00
Eugene Shalygin
e64bb1de8c Drop Qt 4 support 2017-03-05 22:24:59 +01:00
sledgehammer999
32b7f0745f Merge pull request #4631 from DoctorWho11/master
fixes qmake pathing and also fixes a type in configure.ac
2017-02-06 23:06:49 +02:00
Yez Ezey
4e33af41dd Add --disable-qt-dbus to configure if $host_os is macOS 2016-10-21 14:49:09 +09:00
Boris Nagaev
f4dc5c6809 configure: pass variable QMAKE_LRELEASE to qmake 2016-03-03 07:54:34 +03:00
Zach Bacon
8f875962b2 fixes qmake pathing and also fixes a type in configure.ac 2016-01-20 12:47:53 -05:00
sledgehammer999
6e09028682 Switch to Qt5 by default. 2015-11-22 22:07:59 +02:00
Gabriele
7bfa847d01 configure: don't depend on GNU sed
Closes #3169.
2015-08-07 00:11:42 +02:00
sledgehammer999
e3cb9de365 Bump minimum libtorrent version required to 1.0.6. 2015-07-31 23:29:59 +03:00
Vladimir Golovnev (Glassez)
e72cc4eaf9 Drop libtorrent 0.16.x support. 2015-07-25 19:00:18 +03:00
Vladimir Golovnev (Glassez)
79976fbfce Implement new GeoIPManager class. 2015-07-22 08:06:51 +03:00
sledgehammer999
6fba6796b8 Fix typo in configure script. 2015-05-13 23:04:12 +03:00
LazyBui
be62c34e46 Removing the confusion caused by moving GeoIP code/.dat to a different directory 2015-05-13 00:15:10 -05:00
sledgehammer999
e2ac4ebf9d Merge pull request #2977 from pmzqla/configure-whitespace
configure: don't fail when $CPPFLAGS starts with a white space
2015-05-11 19:03:57 +03:00
Gabriele
b67a10c4a1 configure: don't fail when $CPPFLAGS starts with a white space 2015-05-11 13:49:20 +02:00
sledgehammer999
fc52248bf7 Correctly detect FreeBSD when configuring.
Thanks to yurivict for helping.
Closes #2962.
2015-05-11 00:29:46 +03:00
sledgehammer999
4725022f7e Fix configure typo. 2015-05-11 00:29:42 +03:00
sledgehammer999
6c1740f78f Fix typo in configure script help description. 2015-05-02 23:51:51 +03:00
sledgehammer999
0994d258e2 Use absolute path to nox binary in the systemd service file. Also generate the service file with configure. Closes #2914. 2015-05-02 23:46:34 +03:00
sledgehammer999
4493fd9c31 Allow to use system QJson. Closes #1744. 2015-04-12 14:01:32 +03:00
sledgehammer999
b117393345 Revert "Make Qt4 usage explicit." due to #2835.
This reverts commit 86f9cc1b8c.

Conflicts:
	configure
2015-04-11 23:43:55 +03:00
sledgehammer999
4612abb41e Make qmake regenerate recursively all makefiles in subdirectories when reconfiguring. Closes #2111. 2015-04-05 20:21:06 +03:00
sledgehammer999
72f03b4002 Make libtorrent-rasterbar 0.16.x usage explicit. 2015-04-05 19:46:48 +03:00
sledgehammer999
86f9cc1b8c Make Qt4 usage explicit. 2015-04-05 19:14:00 +03:00
sledgehammer999
6b3555bd90 Add systemd configure option. Closes #921. 2015-04-05 16:37:28 +03:00
sledgehammer999
66bb7ce52c Drop pkg-config version requirement to 0.23. Closes #2645. 2015-04-05 14:17:22 +03:00
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.
2015-02-05 19:10:26 +03:00
sledgehammer999
3008d12c3c Try to fix FreeBSD detection with configure. 2014-11-23 20:04:54 +02:00
sledgehammer999
112dd20395 Make configure search for sed. 2014-11-23 19:59:27 +02:00