Legacy_v2.pro 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. CXXFLAGS += -O2 -fno-stack-limit
  12. # The following define makes your compiler emit warnings if you use
  13. # any feature of Qt which has been marked as deprecated (the exact warnings
  14. # depend on your compiler). Please consult the documentation of the
  15. # deprecated API in order to know how to port your code away from it.
  16. DEFINES += QT_DEPRECATED_WARNINGS
  17. # You can also make your code fail to compile if you use deprecated APIs.
  18. # In order to do so, uncomment the following line.
  19. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  20. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  21. SOURCES += \
  22. src/main.cpp \
  23. gui/mainwindow.cpp \
  24. src/menuentry.cpp \
  25. src/legacyapp.cpp \
  26. src/filesystem.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. src/networkdownloader.cpp
  34. HEADERS += \
  35. gui/mainwindow.h \
  36. include/menuentry.h \
  37. include/legacyapp.h \
  38. include/filesystem.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. include/networkdownloader.h
  46. FORMS += \
  47. gui/mainwindow.ui \
  48. gui/statuswidget.ui \
  49. gui/rusificationwidget.ui \
  50. gui/settingswidget.ui \
  51. gui/newswidget.ui \
  52. gui/helpwidget.ui
  53. RESOURCES += \
  54. res.qrc
  55. win32:RC_ICONS = $$PWD/assets/appicon.ico
  56. unix:!macx|win32: LIBS += -L$$PWD/lib/lib/ -lLotroDat_static
  57. INCLUDEPATH += $$PWD/lib/include
  58. INCLUDEPATH += $$PWD/include
  59. INCLUDEPATH += $$PWD/gui
  60. DEPENDPATH += $$PWD/lib/include
  61. win32:!win32-g++: PRE_TARGETDEPS += $$PWD/lib/lib/LotroDat_static.lib
  62. else:unix:!macx|win32-g++: PRE_TARGETDEPS += $$PWD/lib/lib/libLotroDat_static.a
  63. unix:!macx|win32: LIBS += -L$$PWD/lib/Third_party/lib/ -lyaml-cpp
  64. INCLUDEPATH += $$PWD/lib/Third_party
  65. DEPENDPATH += $$PWD/lib/Third_party
  66. win32:!win32-g++: PRE_TARGETDEPS += $$PWD/lib/Third_party/lib/yaml-cpp.lib
  67. else:unix:!macx|win32-g++: PRE_TARGETDEPS += $$PWD/lib/Third_party/lib/libyaml-cpp.a
  68. unix:!macx|win32: LIBS += -L$$PWD/lib/Third_party/lib/ -lzlibstatic
  69. INCLUDEPATH += $$PWD/lib/Third_party
  70. DEPENDPATH += $$PWD/lib/Third_party
  71. win32:!win32-g++: PRE_TARGETDEPS += $$PWD/lib/Third_party/lib/zlibstatic.lib
  72. else:unix:!macx|win32-g++: PRE_TARGETDEPS += $$PWD/lib/Third_party/lib/libzlibstatic.a
  73. DISTFILES +=