2019-12-01 17:40:10 +03:00
|
|
|
# NOTICE:
|
|
|
|
#
|
|
|
|
# Application name defined in TARGET has a corresponding QML filename.
|
|
|
|
# If name defined in TARGET is changed, the following needs to be done
|
|
|
|
# to match new name:
|
|
|
|
# - corresponding QML filename must be changed
|
|
|
|
# - desktop icon filename must be changed
|
|
|
|
# - desktop filename must be changed
|
|
|
|
# - icon definition filename in desktop file must be changed
|
|
|
|
# - translation filenames have to be changed
|
|
|
|
|
|
|
|
# The name of your application
|
|
|
|
TARGET = harbour-seaprint
|
|
|
|
|
|
|
|
CONFIG += sailfishapp
|
|
|
|
|
2019-12-20 00:59:56 +03:00
|
|
|
# Write version file
|
|
|
|
VERSION_H = \
|
|
|
|
"$${LITERAL_HASH}ifndef SEAPRINT_VERSION" \
|
|
|
|
"$${LITERAL_HASH} define SEAPRINT_VERSION \"$$VERSION\"" \
|
|
|
|
"$${LITERAL_HASH}endif"
|
|
|
|
write_file($$$$OUT_PWD/seaprint_version.h, VERSION_H)
|
|
|
|
|
2019-12-01 17:55:55 +03:00
|
|
|
SOURCES += src/harbour-seaprint.cpp \
|
|
|
|
src/ippdiscovery.cpp \
|
|
|
|
src/bytestream.cpp \
|
|
|
|
src/ippmsg.cpp \
|
|
|
|
src/ippprinter.cpp
|
|
|
|
|
2019-12-01 17:40:10 +03:00
|
|
|
|
|
|
|
DISTFILES += qml/harbour-seaprint.qml \
|
|
|
|
qml/cover/CoverPage.qml \
|
2019-12-15 14:11:40 +03:00
|
|
|
qml/components/*.qml \
|
2019-12-01 17:55:55 +03:00
|
|
|
qml/pages/*.qml \
|
2019-12-08 15:55:56 +03:00
|
|
|
qml/pages/*.js \
|
2019-12-13 00:09:08 +03:00
|
|
|
qml/pages/*svg \
|
2019-12-01 17:40:10 +03:00
|
|
|
rpm/harbour-seaprint.changes.in \
|
|
|
|
rpm/harbour-seaprint.changes.run.in \
|
|
|
|
rpm/harbour-seaprint.spec \
|
|
|
|
rpm/harbour-seaprint.yaml \
|
|
|
|
translations/*.ts \
|
|
|
|
harbour-seaprint.desktop
|
|
|
|
|
|
|
|
SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172
|
|
|
|
|
|
|
|
# to disable building translations every time, comment out the
|
|
|
|
# following CONFIG line
|
|
|
|
CONFIG += sailfishapp_i18n
|
|
|
|
|
|
|
|
# German translation is enabled as an example. If you aren't
|
|
|
|
# planning to localize your app, remember to comment out the
|
|
|
|
# following TRANSLATIONS line. And also do not forget to
|
|
|
|
# modify the localized app name in the the .desktop file.
|
2019-12-13 23:36:39 +03:00
|
|
|
TRANSLATIONS += translations/harbour-seaprint-de.ts \
|
2019-12-19 21:50:14 +03:00
|
|
|
translations/harbour-seaprint-zh_CN.ts
|
2019-12-01 17:55:55 +03:00
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
src/ippdiscovery.h \
|
|
|
|
src/bytestream.h \
|
|
|
|
src/ippmsg.h \
|
|
|
|
src/ippprinter.h
|