1
0
Fork 0
Commit graph

156 commits

Author SHA1 Message Date
Ilya Fedin
7e618c8878 Adapt to work without optional-gtk Qt patch 2023-09-21 09:15:29 +04:00
Ilya Fedin
b99a79b9a2 Link QGlibNetworkInformationPlugin 2023-09-20 17:46:49 +04:00
John Preston
491a7fdbae Link system libwebp instead of Qt-s. 2023-09-13 21:06:28 +04:00
Ilya Fedin
8316cfd167 Optional library loading on Linux with Implib 2023-08-10 19:27:26 +04:00
Ilya Fedin
002093a8d0 Fix Qt >= 6.5 version check 2023-08-06 17:59:05 +04:00
Ilya Fedin
ee430ed96a Custom message when Qt is not found
Thus both Qt6 and Qt5 are mentioned
2023-06-26 18:07:12 +04:00
Ilya Fedin
5b4917c75a Revert 179fe08842 partially
The WaylandClient package is required for cmake functions
2023-06-26 18:07:12 +04:00
Ilya Fedin
179fe08842 Switch WaylandClient platform plugins to target check
Just like DBus and WaylandCompositor do
2023-06-25 13:30:35 +04:00
Ilya Fedin
9e47fc7e20 Get rid of QML 2023-06-19 15:17:32 +04:00
Ilya Fedin
926c3119df Migrate from qt_static_plugins.cpp to the Qt6-pregenerated initializators 2023-06-19 11:31:04 +04:00
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
42f8428489 Wayland integration uses Qt 6.5 APIs now 2023-05-15 10:22:14 +04:00
Ilya Fedin
a7d000be71 Get rid of qt5compat dependency 2023-05-15 09:45:40 +04:00
Ilya Fedin
c09c5b61a8 Get rid of DESKTOP_APP_DISABLE_DBUS_INTEGRATION
Desktop App Toolkit uses GLib as the D-Bus library for quite long time, but GLib is not only a D-Bus library, it's more a basic library providing native Linux APIs implementing various specs. The situation right now is that DESKTOP_APP_DISABLE_DBUS_INTEGRATION disables not only D-Bus code but all the native API integration such as MIME handling or .desktop file parsing. In other words, the option disables native Linux APIs on Linux what is absurd and doesn't have any sense.
2023-05-14 12:11:48 +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
9310263cd6 Don't try to find Qt 6 on Windows 2023-02-13 16:52:42 +04:00
Ilya Fedin
4d8c8a0f84 Link Qt to lcms2 on Linux 2022-12-28 15:35:51 +04:00
Daniel Novomeský
af37d955bb Enable support for AVIF, HEIF and JPEG XL on Windows 2022-12-19 11:36:44 +04:00
Ilya Fedin
609e21643b Fix the order of default Qt version
It seems both Qt and cmake documentations are incorrect about the order used in NAMES keyword
2022-12-07 09:23:29 +04:00
Ilya Fedin
bcd5e3a640 Use QtWaylandCompositor for webview embedding on Linux 2022-11-01 14:36:38 +04:00
Ilya Fedin
84f43a8252 Build bundled kcoreaddons 2022-09-28 21:18:22 +04:00
John Preston
6c7b8d8b4c Link Qt::WidgetsPrivate for touch support in popup windows. 2022-09-19 16:28:19 +04:00
Ilya Fedin
c79563ea34 Add support for AVIF, HEIF and JPEG XL (only on Linux yet) 2022-09-18 16:59:09 +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
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
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
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
John Preston
1263bf734a Update Qt to 5.15.4 and 6.3.1. 2022-06-14 18:04:50 +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
941f8fcc4e Link Qt 6 resources without hardcoding the build type 2022-04-19 07:00:30 +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
77f023b65d Ensure libjpeg is linked in the right order 2022-03-21 16:45:55 +04:00
John Preston
3aa9ec0ed1 Move Qt 5 version to 5.15.3 open source. 2022-03-08 22:24:05 +04:00
John Preston
aa71b768bd Update Qt to 6.2.3 on macOS and Linux. 2022-03-05 17:02:35 +04:00
Ilya Fedin
54e750cca0 Restore TARGET_FILE usage for external libraries 2022-02-05 23:00:53 +03:00
John Preston
6d81711cf8 Fix build on Linux. 2022-02-03 11:46:16 +03:00
Ilya Fedin
f552ccb6e5 Use QtWidgets private include directories with Qt 5 2022-02-02 09:21:10 +03:00