Eugene Shalygin
c4e16aa820
cmake: set warning and error options
...
The set is far from perfect, but guards against common errors with GCC.
2017-04-29 13:30:28 +02:00
Chocobo1
7539bee5c5
Remove remaining QBT_USES_QT5 defines.
...
Fixup of e64bb1de8c
.
2017-03-06 23:47:07 +08:00
Eugene Shalygin
008d7dbedc
Raise minimal Qt version to 5.5.1
2017-03-05 22:24:59 +01:00
Eugene Shalygin
e64bb1de8c
Drop Qt 4 support
2017-03-05 22:24:59 +01:00
Eugene Shalygin
8b64dd95a5
cmake: drop explicit Boost dependency
...
We get it implicitly from libtorrent
2016-04-23 02:02:13 +02:00
Eugene Shalygin
473e23f992
cmake: add imported target for Libtorrent
2016-04-18 21:23:03 +02:00
Eugene Shalygin
7c0b5818b1
cmake: add imported target for QtSingleApplication
...
This simplifies cmake code a bit: we remove if's and just generate
different target (imported or alias) with the same name and use it
unconditionally.
2016-04-17 01:07:15 +02:00
Eugene Shalygin
f050f15a0c
cmake: fix Qt resources linkage. Closes #5080
...
Qt resource is innitialized by a static object constructor (see
https://wiki.qt.io/QtResources ). When we put resources into a static
library, the linker removes that static objects and thus the resources
themselves. To correct that we append resources to the main executable
sources list. This is done via custom function qbt_target_sources which
knows where to read the executable' name.
2016-04-17 01:06:24 +02:00
Eugene Shalygin
05e4d4fc0d
cmake: copy qt version requirements from autotools
...
Set versions 4.8.0 and 5.2.0 as minimal required for Qt4 and Qt5.
2016-03-07 22:38:40 +01:00
Eugene Shalygin
64daecb266
add basic cmake support
2016-02-29 12:53:43 +01:00