testpythoncpp.pro 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator 2019-08-22T10:45:59
  4. #
  5. #-------------------------------------------------
  6. QT -= gui
  7. TARGET = testpythoncpp
  8. TEMPLATE = lib
  9. DEFINES += TESTPYTHONCPP_LIBRARY
  10. CONFIG += plugin
  11. # The following define makes your compiler emit warnings if you use
  12. # any feature of Qt which has been marked as deprecated (the exact warnings
  13. # depend on your compiler). Please consult the documentation of the
  14. # deprecated API in order to know how to port your code away from it.
  15. DEFINES += QT_DEPRECATED_WARNINGS
  16. LIBS += -L$$PWD -lmodulecomm
  17. LIBS += -lprotobuf
  18. # You can also make your code fail to compile if you use deprecated APIs.
  19. # In order to do so, uncomment the following line.
  20. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  21. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  22. SOURCES += \
  23. testpythoncpp.cpp \
  24. rawpic.pb.cc
  25. HEADERS += \
  26. testpythoncpp.h \
  27. testpythoncpp_global.h \
  28. rawpic.pb.h
  29. unix {
  30. target.path = /usr/lib
  31. INSTALLS += target
  32. }