1
0
Fork 0
Commit graph

109 commits

Author SHA1 Message Date
John Preston
32e1044c51 Revert "Get rid of xcb_xlib dependencies"
This reverts commit 6ab5543b3d.

Otherwise HIME input is broken:
https://github.com/telegramdesktop/tdesktop/issues/26228
2023-05-24 17:54:53 +04:00
Ilya Fedin
a7d000be71 Get rid of qt5compat dependency 2023-05-15 09:45:40 +04:00
Ilya Fedin
6ab5543b3d Get rid of xcb_xlib dependencies
We can drop this dependency thanks to Qt 6.5.0's xcursor -> xcb-cursor rewrite
2023-04-03 13:32:43 +04:00
Ilya Fedin
31eb395967 Update Qt cmake rules for Qt 6.5 on Linux 2023-03-01 10:32:18 +04:00
Ilya Fedin
8a62b6659d Use _init targets that provide Q_IMPORT_PLUGIN calls 2023-03-01 10:32:18 +04:00
Ilya Fedin
4d8c8a0f84 Link Qt to lcms2 on Linux 2022-12-28 15:35:51 +04:00
Ilya Fedin
bcd5e3a640 Use QtWaylandCompositor for webview embedding on Linux 2022-11-01 14:36:38 +04:00
John Preston
6c7b8d8b4c Link Qt::WidgetsPrivate for touch support in popup windows. 2022-09-19 16:28:19 +04:00
Ilya Fedin
0638ec7b0e WaylandClientPrivate no more 2022-09-02 19:14:56 +04:00
Ilya Fedin
bc81751018 Add RHI shader resources for Qt 6.4 2022-09-02 19:14:56 +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
9615515b06 Use version-less Qt targets and functions whenever possible 2022-08-09 09:12:21 +04:00
John Preston
76459183d9 Revert "Use QtWidgets private headers"
This reverts commit 00c2360aca.
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
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
34a8698fcc Revert "Use QtWidgets private include directories with Qt 5"
This reverts commit f552ccb6e5.
2022-06-03 20:01:52 +04:00
Ilya Fedin
1be19c32de Get xdgdesktopportal back 2022-05-31 11:57:47 +04:00
Ilya Fedin
b30865ced9 Restore original xdg-shell linking 2022-04-11 09:45:51 +04:00
Ilya Fedin
77f023b65d Ensure libjpeg is linked in the right order 2022-03-21 16:45:55 +04:00
Ilya Fedin
54e750cca0 Restore TARGET_FILE usage for external libraries 2022-02-05 23:00:53 +03:00
Ilya Fedin
f552ccb6e5 Use QtWidgets private include directories with Qt 5 2022-02-02 09:21:10 +03:00
Ilya Fedin
985f43a162 Use linux linking helpers without LINK_ONLY 2022-02-01 14:38:31 +03:00
Ilya Fedin
df426419c7 Use LINK_ONLY instead of TARGET_FILE 2022-01-28 23:29:00 +04:00
Ilya Fedin
b6515c543a Use return to decrease indentation in cmake files 2022-01-12 19:11:14 +03:00
Ilya Fedin
289a002b6d Use IMPORTED_LOCATION for zlib 2022-01-12 19:11:14 +03:00
Ilya Fedin
7d1ad3dfe3 Add missed dependency on external_openssl target for Qt 2022-01-12 19:11:14 +03:00
Ilya Fedin
10108ea237 Move libdl/libpthread handling to common_options
Setting -pthread makes linking libatomic manually unneeded
2022-01-05 12:54:40 +03:00
Ilya Fedin
e4acb81f08 Add mkspecs include directory for Windows & macOS 2021-12-22 13:48:57 +04:00
Ilya Fedin
c2b070275e Remove gtk and glib helpers
They're Qt patches now
2021-11-30 17:42:31 +04:00
Ilya Fedin
d5237e224e Make -Wl,-z,now work on older systems 2021-11-02 09:42:00 +04:00
Ilya Fedin
02993a6c82 Add missed LINUX condition 2021-10-21 16:59:29 +04:00
Ilya Fedin
8540bd0b60 Fix static build without Wayland 2021-10-21 10:47:24 +04:00
Ilya Fedin
a8856aa831 Add Qt 6 support
Tested on Linux only
2021-10-21 08:44:20 +04:00
Ilya Fedin
c4e45be16c Don't link deprecated wl-shell 2021-10-19 17:20:55 +04:00
Ilya Fedin
1dacc0ac4f QGenericEnginePlugin is available everywhere
So link it everywhere
2021-09-25 15:24:38 +04:00
Ilya Fedin
aa5afd0a41 Add glib helper to make it optional for Qt 2021-09-12 00:02:59 +03:00
Ilya Fedin
750861b4ab Link drm & zlib statically like before, make GL optional 2021-09-09 16:52:52 +03:00
Ilya Fedin
95ee188c7b Get rid of GTK integration 2021-09-05 17:37:54 +03:00
John Preston
7260711ec5 Add QtSvg include path and preprocessor definition. 2021-08-11 20:16:08 +03:00
John Preston
605de3adc8 Add QtSvg to packaged Qt dependencies. 2021-08-11 20:09:35 +03:00
John Preston
fb595431a9 Link Qt5Svg for wallpaper patterns. 2021-08-11 18:24:28 +03:00
Ilya Fedin
b02fc90612 Get rid of osx and linux32 special targets 2021-08-11 16:01:08 +03:00
Ilya Fedin
3fbee998ae Move flags non-qt-related flags from external_qt to common_options 2021-08-08 09:26:18 +03:00
Ilya Fedin
66cca9be57 Add SYSTEM flag to target_include_directories where appropriate 2021-07-19 19:01:08 +03:00
John Preston
e2455f3194 Add dynamic DirectX loading helper. 2021-07-01 23:44:35 +03:00
John Preston
fc4d02573c Link Qt with statically built ANGLE. 2021-07-01 23:44:35 +03:00
Ilya Fedin
cb92f08d51 Enable Qt's gtk integration 2021-07-01 21:02:04 +03:00
Ilya Fedin
4a63a30c17 Get rid of unneeded glibc wraps 2021-06-29 17:02:16 +03:00
Ilya Fedin
e002bba002 Some cleanup of unneeded hacks
qt5ct is removed since internal gtk integration is good enough
Removed the ability to override path to qtwayland client headers since that hack is no longer used
QXdgDesktopPortalThemePlugin is no longer linked since custom xdg-desktop-portal dialog implementation is present
2021-06-20 10:34:18 +04:00