Legacy_v2.pro 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator 2018-07-12T19:45:49
  4. #
  5. #-------------------------------------------------
  6. QT += core gui network
  7. QMAKE_LFLAGS_RELEASE += -static -static-libgcc -static-libstdc++
  8. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  9. TARGET = Legacy_v2
  10. TEMPLATE = app
  11. # The following define makes your compiler emit warnings if you use
  12. # any feature of Qt which has been marked as deprecated (the exact warnings
  13. # depend on your compiler). Please consult the documentation of the
  14. # deprecated API in order to know how to port your code away from it.
  15. DEFINES += QT_DEPRECATED_WARNINGS
  16. # You can also make your code fail to compile if you use deprecated APIs.
  17. # In order to do so, uncomment the following line.
  18. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  19. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  20. SOURCES += \
  21. src/main.cpp \
  22. gui/mainwindow.cpp \
  23. src/menuentry.cpp \
  24. src/legacyapp.cpp \
  25. src/filesystem.cpp \
  26. src/filedownloader.cpp \
  27. gui/statuswidget.cpp \
  28. gui/rusificationwidget.cpp \
  29. gui/settingswidget.cpp \
  30. gui/newswidget.cpp \
  31. gui/helpwidget.cpp \
  32. src/rusificationtreeelement.cpp
  33. HEADERS += \
  34. gui/mainwindow.h \
  35. include/menuentry.h \
  36. include/legacyapp.h \
  37. include/filesystem.h \
  38. include/filedownloader.h \
  39. gui/statuswidget.h \
  40. gui/rusificationwidget.h \
  41. gui/settingswidget.h \
  42. gui/newswidget.h \
  43. gui/helpwidget.h \
  44. include/rusificationtreeelement.h
  45. FORMS += \
  46. gui/mainwindow.ui \
  47. gui/statuswidget.ui \
  48. gui/rusificationwidget.ui \
  49. gui/settingswidget.ui \
  50. gui/newswidget.ui \
  51. gui/helpwidget.ui
  52. RESOURCES += \
  53. res.qrc
  54. win32:RC_ICONS = $$PWD/assets/appicon.ico
  55. unix:!macx|win32: LIBS += -L$$PWD/lib/lib/ -lLotroDat_static
  56. INCLUDEPATH += $$PWD/lib/include
  57. INCLUDEPATH += $$PWD/include
  58. INCLUDEPATH += $$PWD/gui
  59. DEPENDPATH += $$PWD/lib/include
  60. win32:!win32-g++: PRE_TARGETDEPS += $$PWD/lib/lib/LotroDat_static.lib
  61. else:unix:!macx|win32-g++: PRE_TARGETDEPS += $$PWD/lib/lib/libLotroDat_static.a
  62. unix:!macx|win32: LIBS += -L$$PWD/lib/Third_party/lib/ -lyaml-cpp
  63. INCLUDEPATH += $$PWD/lib/Third_party
  64. DEPENDPATH += $$PWD/lib/Third_party
  65. win32:!win32-g++: PRE_TARGETDEPS += $$PWD/lib/Third_party/lib/yaml-cpp.lib
  66. else:unix:!macx|win32-g++: PRE_TARGETDEPS += $$PWD/lib/Third_party/lib/libyaml-cpp.a
  67. unix:!macx|win32: LIBS += -L$$PWD/lib/Third_party/lib/ -lzlibstatic
  68. INCLUDEPATH += $$PWD/lib/Third_party
  69. DEPENDPATH += $$PWD/lib/Third_party
  70. win32:!win32-g++: PRE_TARGETDEPS += $$PWD/lib/Third_party/lib/zlibstatic.lib
  71. else:unix:!macx|win32-g++: PRE_TARGETDEPS += $$PWD/lib/Third_party/lib/libzlibstatic.a