2017-03-04 12:27:52 +03:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
2018-01-03 13:23:14 +03:00
|
|
|
the official desktop application for the Telegram messaging service.
|
2017-03-04 12:27:52 +03:00
|
|
|
|
2018-01-03 13:23:14 +03:00
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
2017-03-04 12:27:52 +03:00
|
|
|
*/
|
|
|
|
#include <QtCore/QtPlugin>
|
|
|
|
|
|
|
|
Q_IMPORT_PLUGIN(QWebpPlugin)
|
2019-11-05 14:27:21 +03:00
|
|
|
|
|
|
|
#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
|
2019-10-11 10:32:26 +04:00
|
|
|
Q_IMPORT_PLUGIN(QJpegPlugin)
|
|
|
|
Q_IMPORT_PLUGIN(QGifPlugin)
|
2019-11-05 14:27:21 +03:00
|
|
|
#endif // Qt 5.8.0
|
|
|
|
|
2019-10-11 10:32:26 +04:00
|
|
|
#ifdef Q_OS_WIN
|
2017-03-04 12:27:52 +03:00
|
|
|
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
|
|
|
|
#elif defined Q_OS_MAC // Q_OS_WIN
|
|
|
|
Q_IMPORT_PLUGIN(QCocoaIntegrationPlugin)
|
|
|
|
Q_IMPORT_PLUGIN(QGenericEnginePlugin)
|
|
|
|
#elif defined Q_OS_LINUX // Q_OS_WIN | Q_OS_MAC
|
2020-02-11 19:10:07 +04:00
|
|
|
Q_IMPORT_PLUGIN(ShmServerBufferPlugin)
|
|
|
|
Q_IMPORT_PLUGIN(DmaBufServerBufferPlugin)
|
|
|
|
Q_IMPORT_PLUGIN(DrmEglServerBufferPlugin)
|
|
|
|
Q_IMPORT_PLUGIN(QWaylandEglClientBufferPlugin)
|
|
|
|
Q_IMPORT_PLUGIN(QWaylandIviShellIntegrationPlugin)
|
|
|
|
Q_IMPORT_PLUGIN(QWaylandWlShellIntegrationPlugin)
|
|
|
|
Q_IMPORT_PLUGIN(QWaylandXdgShellV5IntegrationPlugin)
|
|
|
|
Q_IMPORT_PLUGIN(QWaylandXdgShellV6IntegrationPlugin)
|
|
|
|
Q_IMPORT_PLUGIN(QWaylandXdgShellIntegrationPlugin)
|
|
|
|
Q_IMPORT_PLUGIN(QWaylandBradientDecorationPlugin)
|
2017-03-04 12:27:52 +03:00
|
|
|
Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)
|
2020-02-11 19:10:07 +04:00
|
|
|
Q_IMPORT_PLUGIN(QWaylandIntegrationPlugin)
|
|
|
|
Q_IMPORT_PLUGIN(QWaylandEglPlatformIntegrationPlugin)
|
2017-03-04 12:27:52 +03:00
|
|
|
Q_IMPORT_PLUGIN(QGenericEnginePlugin)
|
|
|
|
Q_IMPORT_PLUGIN(QComposePlatformInputContextPlugin)
|
2020-02-06 15:34:28 +04:00
|
|
|
Q_IMPORT_PLUGIN(QSvgIconPlugin)
|
2020-01-29 21:41:42 +04:00
|
|
|
#ifndef TDESKTOP_DISABLE_DBUS_INTEGRATION
|
|
|
|
Q_IMPORT_PLUGIN(QConnmanEnginePlugin)
|
|
|
|
Q_IMPORT_PLUGIN(QNetworkManagerEnginePlugin)
|
2017-03-04 12:27:52 +03:00
|
|
|
Q_IMPORT_PLUGIN(QIbusPlatformInputContextPlugin)
|
|
|
|
Q_IMPORT_PLUGIN(QFcitxPlatformInputContextPlugin)
|
2017-06-03 02:52:58 +08:00
|
|
|
Q_IMPORT_PLUGIN(QHimePlatformInputContextPlugin)
|
2018-12-06 16:30:08 +09:00
|
|
|
Q_IMPORT_PLUGIN(NimfInputContextPlugin)
|
2020-01-29 21:41:42 +04:00
|
|
|
Q_IMPORT_PLUGIN(QXdgDesktopPortalThemePlugin)
|
|
|
|
#endif // !TDESKTOP_DISABLE_DBUS_INTEGRATION
|
2017-03-04 12:27:52 +03:00
|
|
|
#endif // Q_OS_WIN | Q_OS_MAC | Q_OS_LINUX
|