2017-03-25 18:44:26 +01:00
|
|
|
TEMPLATE = app
|
|
|
|
|
2017-11-02 18:54:24 +01:00
|
|
|
QT += qml quick av quickcontrols2 sql widgets
|
2017-07-06 14:00:43 +02:00
|
|
|
CONFIG += c++17
|
2017-10-24 20:00:13 +02:00
|
|
|
CONFIG += qtquickcompiler
|
2017-03-25 18:44:26 +01:00
|
|
|
|
2017-11-02 18:54:24 +01:00
|
|
|
|
2017-03-25 18:44:26 +01:00
|
|
|
SOURCES += main.cpp \
|
2017-04-03 18:48:34 +02:00
|
|
|
src/steamworkshop.cpp \
|
|
|
|
src/installedlistmodel.cpp \
|
2017-05-13 10:50:15 +02:00
|
|
|
src/monitorlistmodel.cpp \
|
2017-05-21 17:38:02 +02:00
|
|
|
src/settings.cpp \
|
2017-06-06 12:51:53 +02:00
|
|
|
src/packagefilehandler.cpp \
|
|
|
|
src/wallpaper.cpp \
|
|
|
|
src/profilelistmodel.cpp \
|
2017-07-10 15:09:43 +02:00
|
|
|
src/profile.cpp \
|
2017-09-30 17:36:11 +02:00
|
|
|
src/projectfile.cpp \
|
|
|
|
src/widget.cpp \
|
|
|
|
src/steamworkshoplistmodel.cpp \
|
|
|
|
src/workshopitem.cpp
|
2017-03-25 18:44:26 +01:00
|
|
|
|
2017-10-28 17:22:26 +02:00
|
|
|
RESOURCES += \
|
|
|
|
Resources.qrc \
|
2017-03-25 18:44:26 +01:00
|
|
|
|
2017-04-28 14:45:31 +02:00
|
|
|
HEADERS += \
|
|
|
|
src/steamworkshop.h \
|
|
|
|
src/installedlistmodel.h \
|
2017-05-13 10:50:15 +02:00
|
|
|
src/monitorlistmodel.h \
|
2017-05-21 17:38:02 +02:00
|
|
|
src/settings.h \
|
2017-06-06 12:51:53 +02:00
|
|
|
src/packagefilehandler.h \
|
|
|
|
src/wallpaper.h \
|
|
|
|
src/profilelistmodel.h \
|
2017-07-10 15:09:43 +02:00
|
|
|
src/profile.h \
|
2017-09-30 17:36:11 +02:00
|
|
|
src/projectfile.h \
|
|
|
|
src/widget.h \
|
|
|
|
src/steamworkshoplistmodel.h \
|
|
|
|
src/workshopitem.h
|
2017-04-28 14:45:31 +02:00
|
|
|
|
|
|
|
INCLUDEPATH += \
|
2017-05-21 17:38:02 +02:00
|
|
|
$$PWD/ThirdParty/ \
|
2017-04-28 14:45:31 +02:00
|
|
|
$$PWD/src/\
|
|
|
|
|
2017-06-06 12:51:53 +02:00
|
|
|
|
2017-05-02 21:26:43 +02:00
|
|
|
CONFIG(debug, debug|release) {
|
|
|
|
install_it.path = $${OUT_PWD}/debug/
|
|
|
|
} else {
|
|
|
|
install_it.path = $${OUT_PWD}/release/
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
install_it.files += assets/templates/config.json \
|
|
|
|
assets/icons/favicon.ico \
|
|
|
|
steam_appid.txt \
|
2017-05-13 10:50:15 +02:00
|
|
|
settings.json \
|
2017-05-02 21:26:43 +02:00
|
|
|
|
|
|
|
INSTALLS += install_it
|
|
|
|
|
2017-04-28 14:45:31 +02:00
|
|
|
|
2017-03-25 18:44:26 +01:00
|
|
|
# Additional import path used to resolve QML modules in Qt Creator's code model
|
|
|
|
QML_IMPORT_PATH += [QtAVSourceCodeDir]/qml
|
|
|
|
|
|
|
|
# Additional import path used to resolve QML modules just for Qt Quick Designer
|
|
|
|
QML_DESIGNER_IMPORT_PATH =
|
|
|
|
|
|
|
|
# The following define makes your compiler emit warnings if you use
|
|
|
|
# any feature of Qt which as been marked deprecated (the exact warnings
|
|
|
|
# depend on your compiler). Please consult the documentation of the
|
|
|
|
# deprecated API in order to know how to port your code away from it.
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|
|
|
|
|
2017-07-06 14:00:43 +02:00
|
|
|
win32 {
|
|
|
|
INCLUDEPATH += "C:\msys64\mingw64\include"
|
|
|
|
}
|
|
|
|
|
|
|
|
contains(QT_ARCH, i386) {
|
|
|
|
#32-bit
|
|
|
|
win32: LIBS += -L$$PWD/ThirdParty/Steam/redistributable_bin/ -lsteam_api
|
|
|
|
DEPENDPATH += $$PWD/ThirdParty/Steam/redistributable_bin/
|
|
|
|
} else {
|
|
|
|
#64-bit
|
|
|
|
win32: LIBS += -L$$PWD/ThirdParty/Steam/redistributable_bin/win64/ -lsteam_api64
|
|
|
|
DEPENDPATH += $$PWD/ThirdParty/Steam/redistributable_bin/win64
|
|
|
|
|
|
|
|
#zlib
|
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L"C:\msys64\mingw64\lib" -llibz.dll
|
|
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L"C:\msys64\mingw64\lib" -llibz.dll
|
|
|
|
#quazip
|
2017-09-30 17:36:11 +02:00
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L"C:\msys64\mingw64\lib" -llibquazip5.dll
|
|
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L"C:\msys64\mingw64\lib" -llibquazip5.dll
|
2017-07-06 14:00:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|