Legacy.pro 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator 2017-11-29T15:22:43
  4. #
  5. #-------------------------------------------------
  6. QT += core
  7. QT += core gui
  8. QT += core network
  9. QT += uitools
  10. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  11. TARGET = Legacy
  12. TEMPLATE = app
  13. # The following define makes your compiler emit warnings if you use
  14. # any feature of Qt which has been marked as deprecated (the exact warnings
  15. # depend on your compiler). Please consult the documentation of the
  16. # deprecated API in order to know how to port your code away from it.
  17. DEFINES += QT_DEPRECATED_WARNINGS
  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. main.cpp \
  24. mainwindow.cpp \
  25. config.cpp \
  26. network.cpp \
  27. helper.cpp \
  28. downloadmanager.cpp \
  29. gui.cpp
  30. HEADERS += \
  31. mainwindow.h \
  32. app.h \
  33. config.h \
  34. network.h \
  35. helper.h \
  36. downloadmanager.h \
  37. gui.h
  38. FORMS += \
  39. mainwindow.ui
  40. RESOURCES += \
  41. res.qrc \
  42. res.qrc
  43. win32:RC_ICONS = $$PWD/res/appicon.ico
  44. unix:!macx|win32: LIBS += -L$$PWD/lib/lib/ -lLotroDat_static
  45. INCLUDEPATH += $$PWD/lib/include
  46. DEPENDPATH += $$PWD/lib/include
  47. win32:!win32-g++: PRE_TARGETDEPS += $$PWD/lib/lib/LotroDat_static.lib
  48. else:unix:!macx|win32-g++: PRE_TARGETDEPS += $$PWD/lib/lib/libLotroDat_static.a
  49. unix:!macx|win32: LIBS += -L$$PWD/lib/Third_party/lib/ -lyaml-cpp
  50. INCLUDEPATH += $$PWD/lib/Third_party
  51. DEPENDPATH += $$PWD/lib/Third_party
  52. win32:!win32-g++: PRE_TARGETDEPS += $$PWD/lib/Third_party/lib/yaml-cpp.lib
  53. else:unix:!macx|win32-g++: PRE_TARGETDEPS += $$PWD/lib/Third_party/lib/libyaml-cpp.a
  54. unix:!macx|win32: LIBS += -L$$PWD/lib/Third_party/lib/ -lzlibstatic
  55. INCLUDEPATH += $$PWD/lib/Third_party
  56. DEPENDPATH += $$PWD/lib/Third_party
  57. win32:!win32-g++: PRE_TARGETDEPS += $$PWD/lib/Third_party/lib/zlibstatic.lib
  58. else:unix:!macx|win32-g++: PRE_TARGETDEPS += $$PWD/lib/Third_party/lib/libzlibstatic.a