ivbacktrace.pro 989 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. QT -= gui
  2. TEMPLATE = lib
  3. DEFINES += IVBACKTRACE_LIBRARY
  4. CONFIG += c++11
  5. CONFIG += plugin
  6. QMAKE_CXXFLAGS += -g
  7. # The following define makes your compiler emit warnings if you use
  8. # any Qt feature that has been marked deprecated (the exact warnings
  9. # depend on your compiler). Please consult the documentation of the
  10. # deprecated API in order to know how to port your code away from it.
  11. DEFINES += QT_DEPRECATED_WARNINGS
  12. #LIBS += -ldl
  13. #LIBS += -lboost_system -lboost_filesystem -lbacktrace
  14. # You can also make your code fail to compile if it uses deprecated APIs.
  15. # In order to do so, uncomment the following line.
  16. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  17. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  18. SOURCES += \
  19. ivbacktrace.cpp
  20. HEADERS += \
  21. ivbacktrace.h
  22. # Default rules for deployment.
  23. unix {
  24. target.path = /usr/lib
  25. }
  26. !isEmpty(target.path): INSTALLS += target