Legacy-advanced.pro 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. include( ../../common.pri )
  2. include( ../../app.pri )
  3. QT += core gui network
  4. QMAKE_LFLAGS_RELEASE += -static -static-libgcc -static-libstdc++
  5. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  6. TARGET = Legacy-advanced
  7. TEMPLATE = app
  8. CXXFLAGS += -O2 -fno-stack-limit
  9. CONFIG += resources_big
  10. # The following define makes your compiler emit warnings if you use
  11. # any feature of Qt which has been marked as deprecated (the exact warnings
  12. # depend on your compiler). Please consult the documentation of the
  13. # deprecated API in order to know how to port your code away from it.
  14. DEFINES += QT_DEPRECATED_WARNINGS
  15. # You can also make your code fail to compile if you use deprecated APIs.
  16. # In order to do so, uncomment the following line.
  17. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  18. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  19. SOURCES += \
  20. main.cpp \
  21. models\downloader.cpp \
  22. models\filesystem.cpp \
  23. models\lotrodatmanager.cpp \
  24. widgets\browsewidget.cpp \
  25. widgets\exportwidget.cpp \
  26. widgets\importwidget.cpp \
  27. widgets\mainwindow.cpp \
  28. widgets\managewidget.cpp \
  29. widgets\menuentry.cpp \
  30. widgets\messagedialog.cpp \
  31. widgets\lotroprogresswidget.cpp
  32. HEADERS += \
  33. models\downloader.h \
  34. models\filesystem.h \
  35. models\lotrodatmanager.h \
  36. widgets\browsewidget.h \
  37. widgets\exportwidget.h \
  38. widgets\importwidget.h \
  39. widgets\mainwindow.h \
  40. widgets\managewidget.h \
  41. widgets\menuentry.h \
  42. widgets\messagedialog.h \
  43. widgets\lotroprogresswidget.h
  44. FORMS += \
  45. widgets\browsewidget.ui \
  46. widgets\exportwidget.ui \
  47. widgets\importwidget.ui \
  48. widgets\mainwindow.ui \
  49. widgets\managewidget.ui \
  50. widgets\messagedialog.ui \
  51. widgets\lotroprogresswidget.ui
  52. win32:RC_ICONS = $${PROJECT_ROOT_PATH}/resources/icon_anvil.ico
  53. INCLUDEPATH += $$PWD/src
  54. INCLUDEPATH += $$PWD/widgets
  55. LIBS += -llibLotroDat_static
  56. LIBS += -llibyaml-cpp
  57. LIBS += -llibzlibstatic
  58. CONFIG(debug, debug|release) {
  59. RESOURCES += \
  60. $${PROJECT_ROOT_PATH}/resources/backgrounds_advanced.qrc \
  61. $${PROJECT_ROOT_PATH}/resources/common.qrc
  62. } else {
  63. include(../../build_res.pri)
  64. }