TestLog4Qt.pro 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. QT += core gui
  2. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  3. CONFIG += c++11
  4. include(log4qt/log4qt.pri)
  5. # The following define makes your compiler emit warnings if you use
  6. # any Qt feature that has been marked deprecated (the exact warnings
  7. # depend on your compiler). Please consult the documentation of the
  8. # deprecated API in order to know how to port your code away from it.
  9. DEFINES += QT_DEPRECATED_WARNINGS
  10. # You can also make your code fail to compile if it uses deprecated APIs.
  11. # In order to do so, uncomment the following line.
  12. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  13. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  14. SOURCES += \
  15. Log/Log.cpp \
  16. main.cpp \
  17. dialog.cpp
  18. HEADERS += \
  19. Log/Log.h \
  20. dialog.h
  21. FORMS += \
  22. dialog.ui
  23. # Default rules for deployment.
  24. qnx: target.path = /tmp/$${TARGET}/bin
  25. else: unix:!android: target.path = /opt/$${TARGET}/bin
  26. !isEmpty(target.path): INSTALLS += target