Newer
Older
Import / applications / Photoframe / Photoframe.pro
QT += widgets network multimedia
TEMPLATE = app
LIBS += -L./install/lib -lexif
SOURCES += src/main.cpp \
 src/mainmenu.cpp \
 src/devicelist.cpp \
 src/iconview.cpp \
 src/slideshow.cpp \
 src/manager.cpp \
 src/photolist.cpp \
 src/musiclist.cpp \
 src/videolist.cpp \
 src/menuitem.cpp \
 src/settings.cpp \
 src/information.cpp \
 src/text.cpp \
 src/image.cpp \
 src/intro.cpp \
 src/stage.cpp
HEADERS += src/mainmenu.h \
 src/devicelist.h \
 src/iconview.h \
 src/slideshow.h \
 src/manager.h \
 src/photolist.h \
 src/musiclist.h \
 src/videolist.h \
 src/menuitem.h \
 src/settings.h \
 src/information.h \
 src/text.h \
 src/image.h \
 src/intro.h \
 src/stage.h
CONFIG += release
TRANSLATIONS += i18n/DPF_English.ts i18n/DPF_Japanese.ts i18n/DPF_Korean.ts i18n/DPF_Chinese.ts
INCLUDEPATH = ./install/include

TARGET = ../install/bin/Photoframe

win32 {
    DEPLOY_COMMAND = $$(QTDIR)\\bin\\windeployqt
	TARGET_CUSTOM_EXT = .exe
}
macx {
    DEPLOY_COMMAND = $$(QTDIR)/bin/macdeployqt
	TARGET_CUSTOM_EXT = .app
}

CONFIG( debug, debug|release ) {
    CONFIG_TYPE=debug
} else {
    CONFIG_TYPE=release
}

QMAKE_POST_LINK = $${DEPLOY_COMMAND} $$shell_quote($$shell_path($${OUT_PWD}/$${CONFIG_TYPE}/$${TARGET}$${TARGET_CUSTOM_EXT}))