Commit Graph

26 Commits

Author SHA1 Message Date
a35cb979e4 Unix: Fix regression in translation install target
The introduction of CONFIG+= lrelease introduced a regression in the
installation of translation files on systems using make install targets.

This is fixed by replacing the old translation targets with the target
supplied by lrelease.

Fixes #349
2022-10-31 13:19:50 +01:00
68e67fd777 Copy qm files manually after linking to the output folder
Windows only
2022-10-16 17:25:20 +02:00
2905b7dc29 MSVC: Remove debug_and_release 2022-10-16 14:33:49 +02:00
bbe79cc27a Apple silicon supports opengl 2022-09-12 19:24:56 +02:00
bc35b5d65f Fix QML in Qt6
This means having two versions of everything, the idea is to migrate to Qt6, test that everything works fine and drop Qt5 as soon as possible.
2022-09-12 19:24:56 +02:00
373827e4cf Detect libarchive config in windows and macos
libarchive-wrapper.pri will  handle platform specific errors
2022-08-31 09:32:23 +02:00
862c220069 Add libarchive decompression backend 2022-08-31 09:32:23 +02:00
b0b0849cbc Extract DEFINES += NOMINMAX into common config.pri 2021-12-29 09:36:44 +01:00
30b8e1bf3c Shorten a Unix/MinGW condition in config.pri 2021-11-02 11:02:32 +01:00
1c3fd4d16f Do not pass MSVC arguments to mingw/gcc 2021-11-02 11:02:32 +01:00
4bee296096 Strict qt5.15 breaks poppler 2021-10-23 17:11:50 +02:00
aeb64281e7 Enable /std:c++17 for msvc 2021-10-19 00:00:09 +02:00
122082a2a7 Bump c++ version to 17 and configure the projects to use Qt5.15 or newer 2021-10-19 00:00:09 +02:00
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
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
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
32e1db7134 Disable standard assert() macro in Release builds 2021-02-18 19:49:43 +01:00
6f182b2bb3 Extract CONFIG += c++11 into common config.pri 2021-02-18 19:49:43 +01:00
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
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
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
cc9161acb0 Enforce Qt 5.6 2018-07-10 20:35:42 +02:00
87023114e6 Require at least Qt 5.4 for compilation. 2018-02-19 13:56:18 +01:00
09c8125f87 Merge default branch 2018-02-18 17:17:14 +01:00
601e70fc85 merge develop 2018-02-12 21:41:46 +01:00
2cbbf8d433 Headless server: simplify system config logger 2018-01-28 13:32:56 +01:00