Legacy.pro 2.3 KB

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