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

@@ -3,7 +3,9 @@
#include <QString>
class DoricConstant {
#include "DoricExport.h"
class DORIC_EXPORT DoricConstant {
public:
static const QString DORIC_BUNDLE_SANDBOX;

View File

@@ -1,9 +1,11 @@
#ifndef DORICCONTEXTHOLDER_H
#define DORICCONTEXTHOLDER_H
#include "DoricExport.h"
#include "../DoricContext.h"
class DoricContextHolder : public QObject {
class DORIC_EXPORT DoricContextHolder : public QObject {
protected:
DoricContext *mContext = NULL;

View File

@@ -3,7 +3,9 @@
#include <QObject>
class DoricDialogBridge : public QObject {
#include "DoricExport.h"
class DORIC_EXPORT DoricDialogBridge : public QObject {
Q_OBJECT
public:
explicit DoricDialogBridge(QObject *parent = nullptr);

View File

@@ -3,7 +3,9 @@
#include <QObject>
class DoricImageBridge : public QObject {
#include "DoricExport.h"
class DORIC_EXPORT DoricImageBridge : public QObject {
Q_OBJECT
public:
explicit DoricImageBridge(QObject *parent = nullptr);

View File

@@ -3,7 +3,9 @@
#include <QQuickItem>
class DoricLayoutType {
#include "DoricExport.h"
class DORIC_EXPORT DoricLayoutType {
public:
const static int DoricUndefined = 0;
const static int DoricStack = 1;
@@ -11,14 +13,14 @@ public:
const static int DoricHLayout = 3;
};
class DoricLayoutSpec {
class DORIC_EXPORT DoricLayoutSpec {
public:
const static int DoricLayoutJust = 0;
const static int DoricLayoutFit = 1;
const static int DoricLayoutMost = 2;
};
class DoricGravity {
class DORIC_EXPORT DoricGravity {
public:
const static int DoricGravitySpecified = 1;
const static int DoricGravityStart = 1 << 1;
@@ -41,7 +43,7 @@ public:
DoricGravityCenterX | DoricGravityCenterY;
};
class DoricLayouts : public QObject {
class DORIC_EXPORT DoricLayouts : public QObject {
public:
explicit DoricLayouts(QObject *parent = nullptr);

View File

@@ -4,7 +4,9 @@
#include <QObject>
#include <QVariant>
class DoricMouseAreaBridge : public QObject {
#include "DoricExport.h"
class DORIC_EXPORT DoricMouseAreaBridge : public QObject {
Q_OBJECT
public:
explicit DoricMouseAreaBridge(QObject *parent = nullptr);