2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Remove MOC for QtLottie.

This commit is contained in:
John Preston
2019-05-14 19:31:06 +03:00
parent 0e7cefb69c
commit 38e2837cb6
5 changed files with 1 additions and 34 deletions

View File

@@ -66,8 +66,6 @@ public:
virtual BMBase *clone(BMBase *parent) const;
virtual bool setProperty(BMLiteral::PropertyType propertyType, QVariant value);
QString name() const;
int type() const;

View File

@@ -62,28 +62,6 @@ Q_DECLARE_LOGGING_CATEGORY(lcLottieQtBodymovinUpdate);
Q_DECLARE_LOGGING_CATEGORY(lcLottieQtBodymovinRender);
Q_DECLARE_LOGGING_CATEGORY(lcLottieQtBodymovinRenderThread);
class BODYMOVIN_EXPORT BMLiteral : public QObject
{
Q_OBJECT
public:
enum ElementType {
Animation = 0,
LayerImage,
LayerNull,
LayerPrecomp,
LayerShape
};
enum PropertyType {
RectPosition,
RectSize,
RectRoundness
};
Q_ENUM(PropertyType)
explicit BMLiteral(QObject *parent = nullptr) : QObject(parent) {}
};
QT_END_NAMESPACE
#endif // BMCONSTANTS_P_H

View File

@@ -63,8 +63,6 @@ public:
BMBase *clone(BMBase *parent) const override;
bool setProperty(BMLiteral::PropertyType propertyType, QVariant value) override;
void updateProperties(int frame) override;
void render(LottieRenderer &renderer, int frame) const override;
bool acceptsTrim() const override;

View File

@@ -8,12 +8,6 @@
'includes': [
'common.gypi',
],
'variables': {
'variables': {
'moc_to_sources%': '1',
},
'moc_to_sources%': '<(moc_to_sources)',
},
'targets': [{
'target_name': 'lib_lottie',
'type': 'static_library',
@@ -21,7 +15,6 @@
'common.gypi',
'openssl.gypi',
'qt.gypi',
'qt_moc.gypi',
'telegram_linux.gypi',
'pch.gypi',
],