RedisSubscriber.pro 705 B

12345678910111213141516171819202122232425262728293031
  1. QT -= gui
  2. TEMPLATE = lib
  3. DEFINES += REDISSUBSCRIBER_LIBRARY
  4. CONFIG += c++17
  5. # You can make your code fail to compile if it uses deprecated APIs.
  6. # In order to do so, uncomment the following line.
  7. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  8. INCLUDEPATH += ../../include
  9. HEADERS += \
  10. ../../include/LibraryLoader.h \
  11. ../../include/Publisher.h
  12. SOURCES += \
  13. RedisSubscriber.cpp
  14. HEADERS += \
  15. RedisSubscriber_global.h \
  16. RedisSubscriber.h
  17. # Default rules for deployment.
  18. unix {
  19. target.path = /usr/lib
  20. }else{
  21. DESTDIR = $$PWD/../../bin/plugins
  22. }
  23. !isEmpty(target.path): INSTALLS += target