Browse Source

Add check licence dynamic library

dongjunhong 2 months ago
parent
commit
4a19f7345b
1 changed files with 12 additions and 0 deletions
  1. 12 0
      src/tool/checklicence/README.md

+ 12 - 0
src/tool/checklicence/README.md

@@ -0,0 +1,12 @@
+add pro file:
+INCLUDEPATH += $$PWD/../../../include/
+LIBS += -L$$PWD/../../../bin/ -lchecklicence
+
+add main:
+#include "checklicence.h"
+Checklicence adclicense;
+int checklicense=adclicense.CheckLincese();
+if (checklicense!=1)
+{
+return a.exec();
+}