add QT5 support

This commit is contained in:
2020-07-01 16:23:51 +08:00
parent 9b1975a8a5
commit 165e95c0d5
9 changed files with 248 additions and 1 deletions

10
inc/hgl/QT.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef HGL_QT_INCLUDE
#define HGL_QT_INCLUDE
#include<hgl/type/QTString.h>
#include<QObject>
#define QTConnect(obj,event,class_pointer,slot_func) QObject::connect(obj,SIGNAL(event()),class_pointer,SLOT(slot_func()))
#endif//HGL_QT_INCLUDE