dll pack & replace mt

This commit is contained in:
王劲鹏
2021-05-18 16:15:28 +08:00
committed by osborn
parent e82e598921
commit ada65c836f
44 changed files with 137 additions and 60 deletions

View File

@@ -6,10 +6,12 @@
#include <QVariant>
#include <QtDebug>
#include "DoricExport.h"
#include "yoga/Yoga.h"
#include "FlexLayoutConfig.h"
class FlexLayout : public QObject {
class DORIC_EXPORT FlexLayout : public QObject {
Q_OBJECT
Q_PROPERTY(int flexShrink READ getFlexShrink WRITE setFlexShrink)

View File

@@ -4,9 +4,11 @@
#include <QObject>
#include <QtDebug>
#include "DoricExport.h"
#include "yoga/Yoga.h"
class FlexLayoutConfig : public QObject {
class DORIC_EXPORT FlexLayoutConfig : public QObject {
Q_OBJECT
private:
YGConfigRef config;

View File

@@ -6,12 +6,14 @@
#include <QVariant>
#include <QtDebug>
#include "DoricExport.h"
#include "FlexLayoutConfig.h"
#include "FlexLayout.h"
#include "yoga/Yoga.h"
class FlexLayoutService : public QObject {
class DORIC_EXPORT FlexLayoutService : public QObject {
Q_OBJECT
private:
FlexLayoutConfig *config;