1、提交define文件;

feature/struct-menu-20241023
simonyan 3 weeks ago
parent e101152dcb
commit 3904743136

@ -0,0 +1,16 @@
#ifndef CFDSTRUCTDATADEFINE_H
#define CFDSTRUCTDATADEFINE_H
#include <QObject>
#define QVA_GLOBAL(x) QVariant::fromValue(x)
#define QVA_QS(x) QVariant::fromValue(QString(x))
#define QVA_FROM_QS(x) qvariant_cast<QString>(x)
Q_DECLARE_METATYPE(int*)
Q_DECLARE_METATYPE(bool*)
Q_DECLARE_METATYPE(double*)
Q_DECLARE_METATYPE(QString*)
#endif // CFDSTRUCTDATADEFINE_H
Loading…
Cancel
Save