John Preston
d5190185f7
Update desired d3dcompiler version.
2022-08-29 09:11:17 +04:00
Ilya Fedin
ed89d82487
Restore ZLIB_WINAPI define
2022-08-28 00:28:18 +04:00
Ilya Fedin
64202d7765
Find nuget in the recommended directroy automatically
2022-08-27 12:46:23 +04:00
Ilya Fedin
f9b8a35464
Use zlib built with cmake on Windows
2022-08-27 12:46:23 +04:00
Ilya Fedin
41ff5e28cd
Prepend cache variables for libraries searching with DESKTOP_APP_
...
To avoid confusion with exports of various cmake packages
2022-08-27 12:45:50 +04:00
Ilya Fedin
1e0b42d295
Don't set LINK_SEARCH_START_STATIC on targets
...
There's target_link_static_libraries to search static variants of libraries, so having such behavior by default is not something wanted
2022-08-27 12:45:50 +04:00
Ilya Fedin
017f5d4e35
Fix a typo in kcoreaddons target name
2022-08-27 12:45:26 +04:00
Ilya Fedin
96e9bf770c
Add external_kcoreaddons
2022-08-27 10:07:07 +04:00
Ilya Fedin
5f980167f7
Move build_* variable computation back to variables.cmake
2022-08-22 17:16:25 +04:00
Ilya Fedin
6f77ab1f86
Cache Qt version
2022-08-19 15:38:25 +04:00
Ilya Fedin
0702ef4cdd
Get rid of DESKTOP_APP_QT6
2022-08-14 10:01:20 +04:00
Ilya Fedin
4b36e46448
Don't depend on Qt::WaylandClient target when linking Wayland libraries
2022-08-13 11:49:29 +04:00
Ilya Fedin
5cf73fe21b
Restore some symbols in linux_wayland_helper
...
They're used in the upcoming Qt 6.4
2022-08-12 07:44:54 +03:00
Ilya Fedin
1a24c441a8
Fix a warning about using uninitialized variable
2022-08-11 10:42:09 +03:00
Ilya Fedin
50a67393ab
Use cmake_dependent_option to better declare variables that relate on other variables
2022-08-11 09:00:14 +03:00
Ilya Fedin
9615515b06
Use version-less Qt targets and functions whenever possible
2022-08-09 09:12:21 +04:00
Ilya Fedin
c65bf3b134
Remove unused now wayland symbols
2022-08-08 19:32:45 +04:00
John Preston
76459183d9
Revert "Use QtWidgets private headers"
...
This reverts commit 00c2360aca .
2022-08-08 09:56:30 +03:00
John Preston
eacf0c8d64
Revert "Use QtWaylandEglClientHwIntegrationPrivate module"
...
This reverts commit 3e6a8fc192 .
2022-08-08 09:56:30 +03:00
Ilya Fedin
f1c9743790
Simplify Qt library list on Linux
2022-08-08 09:12:01 +04:00
Ilya Fedin
3e6a8fc192
Use QtWaylandEglClientHwIntegrationPrivate module
2022-08-04 10:09:31 +04:00
Ilya Fedin
00c2360aca
Use QtWidgets private headers
2022-08-04 10:09:31 +04:00
Ilya Fedin
3eb3165734
Rework Qt 5 private modules linking
2022-08-04 10:09:31 +04:00
Ilya Fedin
d8442d4d96
Automatically disable Wayland integration with Qt 5
2022-06-20 23:58:11 +04:00
Ilya Fedin
06237779c2
Fix desktop-app::external_wayland_client in packaged mode
2022-06-15 10:39:14 +04:00
John Preston
1263bf734a
Update Qt to 5.15.4 and 6.3.1.
2022-06-14 18:04:50 +04:00
Ilya Fedin
320fa8f2f8
Ensure wayland-client is not linked in non-packaged mode
2022-06-07 10:05:30 +04:00
Ilya Fedin
34a8698fcc
Revert "Use QtWidgets private include directories with Qt 5"
...
This reverts commit f552ccb6e5 .
2022-06-03 20:01:52 +04:00
Ilya Fedin
d53b2db48e
Migrate from kwayland to QtWaylandScanner
2022-06-03 20:01:52 +04:00
Ilya Fedin
1be19c32de
Get xdgdesktopportal back
2022-05-31 11:57:47 +04:00
John Preston
b4fff01757
Fix build with WebRTC M101.
2022-05-03 19:11:07 +04:00
Ilya Fedin
26d31dbdef
Move -fstack-clash-protection to GCC-only flags
2022-05-02 15:09:29 +04:00
John Preston
87d46d8111
Update WebView2 package version.
2022-04-19 16:57:00 +04:00
Ilya Fedin
2e1d9c80d9
Workaround cmake's random library order in external_ffmpeg
2022-04-19 15:56:21 +04:00
Ilya Fedin
b8b517a5e0
Check debug tg_owt library exists before using
2022-04-19 09:35:25 +04:00
Ilya Fedin
941f8fcc4e
Link Qt 6 resources without hardcoding the build type
2022-04-19 07:00:30 +04:00
Ilya Fedin
8ca7ff8484
Don't require breakpad/ffmpeg build directories on Linux
2022-04-17 09:06:16 +04:00
Ilya Fedin
ed1411f129
Update for Qt 6.3
2022-04-13 15:04:55 +04:00
Ilya Fedin
b30865ced9
Restore original xdg-shell linking
2022-04-11 09:45:51 +04:00
John Preston
9a043ab5ad
Update Qt version to 6.2.4 on macOS and Linux.
2022-03-28 01:26:56 +04:00
Ilya Fedin
1711697810
Fix a syntax error in external_jpeg
2022-03-21 16:56:42 +04:00
Ilya Fedin
77f023b65d
Ensure libjpeg is linked in the right order
2022-03-21 16:45:55 +04:00
Ilya Fedin
250a405b07
Add a missing DESKTOP_APP_USE_PACKAGED_LAZY condition
2022-03-19 08:44:07 +04:00
Ilya Fedin
425a0dc566
libjpeg is a required dependency now
2022-03-09 22:25:57 +04:00
John Preston
38eb603dc7
Merge remote-tracking branch 'origin/master' into HEAD
2022-03-09 18:39:52 +04:00
John Preston
3aa9ec0ed1
Move Qt 5 version to 5.15.3 open source.
2022-03-08 22:24:05 +04:00
Klemens Nanni
205f90ab9e
Replace deprecated -W with explicit -Wextra
...
`-W` looks odd in build logs, I thought it was a missing warning option...
Turns out this has long been superseeded by `-Wexta`, so use that.
2022-03-07 09:57:26 +04:00
John Preston
aa71b768bd
Update Qt to 6.2.3 on macOS and Linux.
2022-03-05 17:02:35 +04:00
Nicholas Guriev
f05023bb10
Find headers of QR Code Generator of version 1.6.0 as well.
2022-02-28 19:05:16 +03:00
Klemens Nanni
ddd1ee547d
Introduce DESKTOP_APP_DISABLE_JEMALLOC to enable using system malloc
...
On at least OpenBSD, malloc(3) is preferred to other implementations
like jemalloc for various reasons.
It is common for portable third-party software (ports) to provide a
switch for en/disabling jemalloc.
tdesktop makes this easy since it does not contain any (je)malloc
specific code (anymore).
Introduce a new default-off option that disables jemalloc when enabled
explicitly; this also allow developers and package maintainers more
easily to try different malloc implementations, e.g. for debugging.
Memory leaks reported in the slightly old issue
"The app consumes an unexpectedly large amount of RAM"
https://github.com/telegramdesktop/tdesktop/issues/16084 could not
be reproduced on OpenBSD/amd64 with malloc(3) using tdesktop >= 3.3.1.
2022-02-27 19:58:36 +03:00