Legacy.pro 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. helper.cpp \
  27. downloadmanager.cpp \
  28. filesystem.cpp \
  29. lotromanager.cpp \
  30. anetwork.cpp
  31. HEADERS += \
  32. mainwindow.h \
  33. app.h \
  34. config.h \
  35. helper.h \
  36. downloadmanager.h \
  37. filesystem.h \
  38. lotromanager.h \
  39. anetwork.h
  40. FORMS += \
  41. mainwindow.ui
  42. LIBS += -luser32 -lshell32 -lgdi32
  43. RESOURCES += \
  44. res.qrc \
  45. res.qrc
  46. CONFIG += c++14
  47. win32:RC_ICONS = $$PWD/res/appicon.ico
  48. unix:!macx|win32: LIBS += -L$$PWD/lib/lib/ -lLotroDat_static
  49. INCLUDEPATH += $$PWD/lib/include
  50. DEPENDPATH += $$PWD/lib/include
  51. win32:!win32-g++: PRE_TARGETDEPS += $$PWD/lib/lib/LotroDat_static.lib
  52. else:unix:!macx|win32-g++: PRE_TARGETDEPS += $$PWD/lib/lib/libLotroDat_static.a
  53. unix:!macx|win32: LIBS += -L$$PWD/lib/Third_party/lib/ -lyaml-cpp
  54. INCLUDEPATH += $$PWD/lib/Third_party
  55. DEPENDPATH += $$PWD/lib/Third_party
  56. win32:!win32-g++: PRE_TARGETDEPS += $$PWD/lib/Third_party/lib/yaml-cpp.lib
  57. else:unix:!macx|win32-g++: PRE_TARGETDEPS += $$PWD/lib/Third_party/lib/libyaml-cpp.a
  58. unix:!macx|win32: LIBS += -L$$PWD/lib/Third_party/lib/ -lzlibstatic
  59. INCLUDEPATH += $$PWD/lib/Third_party
  60. DEPENDPATH += $$PWD/lib/Third_party
  61. win32:!win32-g++: PRE_TARGETDEPS += $$PWD/lib/Third_party/lib/zlibstatic.lib
  62. else:unix:!macx|win32-g++: PRE_TARGETDEPS += $$PWD/lib/Third_party/lib/libzlibstatic.a