QT -= gui TEMPLATE = lib DEFINES += OICOMM_LIBRARY CONFIG += c++11 msvc:DEFINES += WIN32_LEAN_AND_MEAN # You can make your code fail to compile if it uses deprecated APIs. # In order to do so, uncomment the following line. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 SOURCES += \ Guid.cpp \ MD5Fun.cpp \ OIBase.cpp \ OICommFun.cpp \ OICriticalSection.cpp \ OIEvent.cpp \ OIException.cpp \ OIHighTime.cpp \ OIIniFile.cpp \ OILanguagePackMgr.cpp \ OILogFileMgr.cpp \ OIMachineMgr.cpp \ OISemaphore.cpp \ OIThread.cpp HEADERS += \ OICommInclude.h \ OIComm_global.h \ Guid.h \ MD5Fun.h \ OIBase.h \ OICommDef.h \ OICommFun.h \ OICriticalSection.h \ OIEvent.h \ OIException.h \ OIHighTime.h \ OIHighTime.inl \ OIIniFile.h \ OILanguagePackMgr.h \ OILogFileMgr.h \ OIMachineMgr.h \ OISemaphore.h \ OIThread.h \ stdafx.h # Default rules for deployment. unix { target.path = /usr/lib } !isEmpty(target.path): INSTALLS += target include(OIComm.pri)