2017-03-04 09:27:52 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
2018-01-03 10:23:14 +00:00
|
|
|
the official desktop application for the Telegram messaging service.
|
2017-03-04 09:27:52 +00:00
|
|
|
|
2018-01-03 10:23:14 +00:00
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
2017-03-04 09:27:52 +00:00
|
|
|
*/
|
|
|
|
#include <QtCore/QtPlugin>
|
|
|
|
|
|
|
|
Q_IMPORT_PLUGIN(QWebpPlugin)
|
2019-11-05 11:27:21 +00:00
|
|
|
|
|
|
|
#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
|
2019-10-11 06:32:26 +00:00
|
|
|
Q_IMPORT_PLUGIN(QJpegPlugin)
|
|
|
|
Q_IMPORT_PLUGIN(QGifPlugin)
|
2019-11-05 11:27:21 +00:00
|
|
|
#endif // Qt 5.8.0
|
|
|
|
|
2019-10-11 06:32:26 +00:00
|
|
|
#ifdef Q_OS_WIN
|
2017-03-04 09:27:52 +00: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
|
|
|
|
Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)
|
|
|
|
Q_IMPORT_PLUGIN(QConnmanEnginePlugin)
|
|
|
|
Q_IMPORT_PLUGIN(QGenericEnginePlugin)
|
|
|
|
Q_IMPORT_PLUGIN(QNetworkManagerEnginePlugin)
|
|
|
|
Q_IMPORT_PLUGIN(QComposePlatformInputContextPlugin)
|
|
|
|
Q_IMPORT_PLUGIN(QIbusPlatformInputContextPlugin)
|
|
|
|
Q_IMPORT_PLUGIN(QFcitxPlatformInputContextPlugin)
|
2017-06-02 18:52:58 +00:00
|
|
|
Q_IMPORT_PLUGIN(QHimePlatformInputContextPlugin)
|
2018-12-06 07:30:08 +00:00
|
|
|
Q_IMPORT_PLUGIN(NimfInputContextPlugin)
|
2017-03-04 09:27:52 +00:00
|
|
|
#endif // Q_OS_WIN | Q_OS_MAC | Q_OS_LINUX
|