2017-03-25 18:44:26 +01:00
|
|
|
TEMPLATE = app
|
|
|
|
|
2017-05-13 10:50:15 +02:00
|
|
|
QT += qml quick av widgets quickcontrols2
|
2017-05-21 17:38:02 +02:00
|
|
|
CONFIG += c++11
|
|
|
|
|
|
|
|
|
2017-03-25 18:44:26 +01:00
|
|
|
|
|
|
|
SOURCES += main.cpp \
|
2017-03-27 15:38:25 +02:00
|
|
|
src/screenplay.cpp \
|
2017-04-03 18:48:34 +02:00
|
|
|
src/steamworkshop.cpp \
|
|
|
|
src/installedlistmodel.cpp \
|
2017-04-23 12:53:00 +02:00
|
|
|
src/backend.cpp \
|
2017-05-13 10:50:15 +02:00
|
|
|
src/monitorlistmodel.cpp \
|
2017-05-21 17:38:02 +02:00
|
|
|
src/settings.cpp \
|
|
|
|
src/packagefilehandler.cpp
|
2017-03-25 18:44:26 +01:00
|
|
|
|
|
|
|
RESOURCES += qml.qrc
|
|
|
|
|
2017-04-28 14:45:31 +02:00
|
|
|
HEADERS += \
|
|
|
|
src/screenplay.h \
|
|
|
|
src/steamworkshop.h \
|
|
|
|
src/installedlistmodel.h \
|
|
|
|
src/backend.h \
|
2017-05-13 10:50:15 +02:00
|
|
|
src/monitorlistmodel.h \
|
2017-05-21 17:38:02 +02:00
|
|
|
src/settings.h \
|
|
|
|
src/packagefilehandler.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-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-04-23 12:53:00 +02:00
|
|
|
#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
|
|
|
|
#}
|