Legacy.pro 2.2 KB

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