浏览代码

Generate license code through hard disk partition identification code

dongjunhong 8 月之前
父节点
当前提交
4350cfc678
共有 1 个文件被更改,包括 14 次插入0 次删除
  1. 14 0
      src/common/common/license_local/README.md

+ 14 - 0
src/common/common/license_local/README.md

@@ -0,0 +1,14 @@
+在pro文件中导入目录和模块
+INCLUDEPATH += $$PWD/../../common/common/license_local
+include($$PWD/../../common/common/license_local/adclicense.pri)
+
+在主程序中导入头文件
+#include <adclicense.h>
+
+调用函数获取返回值
+ADCLicenseServ adclicense;
+int checklicense=adclicense.CheckLincese();
+if (checklicense!=1)
+{
+return a.exec();
+}