Commit Graph

15 Commits

Author SHA1 Message Date
Luis Ángel San Martín
aeb64281e7 Enable /std:c++17 for msvc 2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
122082a2a7 Bump c++ version to 17 and configure the projects to use Qt5.15 or newer 2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
2de4b26b71 Start supporting Qt6
Everything is broken but we want to start fixing as much as possible
2021-10-19 00:00:08 +02:00
Felix Kauselmann
75c2618eff Qmake: Introduce Qt deprecation macros
As the minimum build requirements are now Qt 5.9, enable the QT_DEPRECATED_SINCE
macro and set the deprecation target to 5.9 and earlier. This will make our build
fail if functions deprecated in Qt 5.9 or earlier are used.

Also, enable the QT_DEPRECATED_WARNINGS macro so our build system warns us when
we are using functions deprecated in newer versions of Qt so we can port away from
those too.
2021-03-13 10:46:43 +01:00
Felix Kauselmann
14d9ba9de5 Update qmake version check for Qt 5.9 and Qt 6
The old way to check for the Qt version was a bit of a hack
and not very flexible. For Qt 6, it was broken and produced
false positives.

This commit fixes this by replacing the check function with
a proper implementation imported from QtCreator's qmake files
and updates the minimum requirements to reflect the new situation.
2021-03-13 10:46:43 +01:00
Igor Kushnir
32e1db7134 Disable standard assert() macro in Release builds 2021-02-18 19:49:43 +01:00
Igor Kushnir
6f182b2bb3 Extract CONFIG += c++11 into common config.pri 2021-02-18 19:49:43 +01:00
Felix Kauselmann
cb822c4f47 Add CONFIG += silent to build to reduce log pollution
Qmake by default creates lots of unnecessary information during builds
which makes it hard to extract warnings and errors from the log.
Add the undocumented silent parameter to make it less talky.
2021-02-18 19:49:16 +01:00
Luis Ángel San Martín
ba690dcd4e Use pdfkit by default in macos
pdfium seems to be broken, I couldn't investigate where the problem is yet
2019-09-27 18:32:34 +02:00
Luis Ángel San Martín
1903b6753f Update compressed_archive to support the latest version of 7zip 18.05
p7zip has been abandoned and the latest version available is 16.02.
2019-02-18 17:00:30 +01:00
Felix Kauselmann
cc9161acb0 Enforce Qt 5.6 2018-07-10 20:35:42 +02:00
Felix Kauselmann
87023114e6 Require at least Qt 5.4 for compilation. 2018-02-19 13:56:18 +01:00
Felix Kauselmann
09c8125f87 Merge default branch 2018-02-18 17:17:14 +01:00
Felix Kauselmann
601e70fc85 merge develop 2018-02-12 21:41:46 +01:00
Felix Kauselmann
2cbbf8d433 Headless server: simplify system config logger 2018-01-28 13:32:56 +01:00