Legacy_v2.pro 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. CONFIG += resources_big
  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. src/main.cpp \
  24. gui/mainwindow.cpp \
  25. src/menuentry.cpp \
  26. src/legacyapp.cpp \
  27. src/filesystem.cpp \
  28. gui/statuswidget.cpp \
  29. gui/rusificationwidget.cpp \
  30. gui/settingswidget.cpp \
  31. gui/newswidget.cpp \
  32. gui/helpwidget.cpp \
  33. src/rusificationtreeelement.cpp \
  34. src/networkdownloader.cpp
  35. HEADERS += \
  36. gui/mainwindow.h \
  37. include/menuentry.h \
  38. include/legacyapp.h \
  39. include/filesystem.h \
  40. gui/statuswidget.h \
  41. gui/rusificationwidget.h \
  42. gui/settingswidget.h \
  43. gui/newswidget.h \
  44. gui/helpwidget.h \
  45. include/rusificationtreeelement.h \
  46. include/networkdownloader.h
  47. FORMS += \
  48. gui/mainwindow.ui \
  49. gui/statuswidget.ui \
  50. gui/rusificationwidget.ui \
  51. gui/settingswidget.ui \
  52. gui/newswidget.ui \
  53. gui/helpwidget.ui
  54. RESOURCES += \
  55. backgrounds.qrc \
  56. common.qrc
  57. win32:RC_ICONS = $$PWD/assets/appicon.ico
  58. unix:!macx|win32: LIBS += -L$$PWD/lib/lib/ -lLotroDat_static
  59. INCLUDEPATH += $$PWD/lib/include
  60. INCLUDEPATH += $$PWD/include
  61. INCLUDEPATH += $$PWD/gui
  62. DEPENDPATH += $$PWD/lib/include
  63. win32:!win32-g++: PRE_TARGETDEPS += $$PWD/lib/lib/LotroDat_static.lib
  64. else:unix:!macx|win32-g++: PRE_TARGETDEPS += $$PWD/lib/lib/libLotroDat_static.a
  65. unix:!macx|win32: LIBS += -L$$PWD/lib/Third_party/lib/ -lyaml-cpp
  66. INCLUDEPATH += $$PWD/lib/Third_party
  67. DEPENDPATH += $$PWD/lib/Third_party
  68. win32:!win32-g++: PRE_TARGETDEPS += $$PWD/lib/Third_party/lib/yaml-cpp.lib
  69. else:unix:!macx|win32-g++: PRE_TARGETDEPS += $$PWD/lib/Third_party/lib/libyaml-cpp.a
  70. unix:!macx|win32: LIBS += -L$$PWD/lib/Third_party/lib/ -lzlibstatic
  71. INCLUDEPATH += $$PWD/lib/Third_party
  72. DEPENDPATH += $$PWD/lib/Third_party
  73. win32:!win32-g++: PRE_TARGETDEPS += $$PWD/lib/Third_party/lib/zlibstatic.lib
  74. else:unix:!macx|win32-g++: PRE_TARGETDEPS += $$PWD/lib/Third_party/lib/libzlibstatic.a
  75. DISTFILES +=