|
@@ -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();
|
|
|
|
+}
|