2014-07-07 17:08:30 +00:00
|
|
|
TEMPLATE = app
|
|
|
|
|
|
|
|
QT += qml quick widgets
|
|
|
|
|
2016-01-25 18:36:33 +00:00
|
|
|
HEADERS += \
|
|
|
|
filter.h \
|
2016-02-03 15:37:10 +00:00
|
|
|
clipboardAdapter.h \
|
|
|
|
oscursor.h
|
2016-01-25 18:36:33 +00:00
|
|
|
|
|
|
|
|
2014-07-07 17:08:30 +00:00
|
|
|
SOURCES += main.cpp \
|
2014-07-16 12:40:09 +00:00
|
|
|
filter.cpp \
|
2016-02-03 15:37:10 +00:00
|
|
|
clipboardAdapter.cpp \
|
|
|
|
oscursor.cpp
|
2014-07-07 17:08:30 +00:00
|
|
|
|
2016-01-29 19:01:52 +00:00
|
|
|
lupdate_only {
|
|
|
|
SOURCES = *.qml \
|
|
|
|
components/*.qml \
|
|
|
|
pages/*.qml \
|
|
|
|
wizard/*.qml
|
|
|
|
}
|
|
|
|
|
|
|
|
# translations files;
|
|
|
|
TRANSLATIONS = monero-core_en.ts \ # English (could be untranslated)
|
|
|
|
monero-core_de.ts # Deutsch
|
|
|
|
|
|
|
|
|
|
|
|
# extra make targets for lupdate and lrelease invocation
|
2016-02-06 12:58:55 +00:00
|
|
|
# use "make lupdate" to update *.ts files and "make lrelease" to generate *.qm files
|
2016-01-29 19:01:52 +00:00
|
|
|
lupdate.commands = lupdate $$_PRO_FILE_
|
2016-02-06 12:49:31 +00:00
|
|
|
lupdate.depends = $$SOURCES $$HEADERS
|
2016-01-29 19:01:52 +00:00
|
|
|
lrelease.commands = lrelease $$_PRO_FILE_
|
|
|
|
lrelease.depends = lupdate
|
|
|
|
translate.commands = $(COPY) *.qm ${DESTDIR}
|
|
|
|
translate.depends = lrelease
|
|
|
|
|
|
|
|
QMAKE_EXTRA_TARGETS += lupdate lrelease
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-01-25 18:36:33 +00:00
|
|
|
CONFIG(release, debug|release) {
|
|
|
|
DESTDIR=release
|
|
|
|
}
|
|
|
|
|
|
|
|
CONFIG(debug, debug|release) {
|
|
|
|
DESTDIR=debug
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-07-07 17:08:30 +00:00
|
|
|
RESOURCES += qml.qrc
|
|
|
|
|
|
|
|
# Additional import path used to resolve QML modules in Qt Creator's code model
|
|
|
|
QML_IMPORT_PATH =
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
include(deployment.pri)
|
|
|
|
|
2016-02-02 21:09:45 +00:00
|
|
|
DISTFILES += \
|
2016-02-06 12:58:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
OTHER_FILES += \
|
2016-02-06 12:49:31 +00:00
|
|
|
.gitignore \
|
2016-02-06 12:58:55 +00:00
|
|
|
monero-core_de.ts \
|
|
|
|
monero-core_en.ts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-02-02 21:09:45 +00:00
|
|
|
|