mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-13 03:46:33 +02:00
Copy lang files to the output directory at the "build" step
This commit is contained in:
parent
965a8759f0
commit
29f3abdeac
@ -2,10 +2,24 @@ TEMPLATE = app
|
|||||||
|
|
||||||
QT += qml quick widgets
|
QT += qml quick widgets
|
||||||
|
|
||||||
|
HEADERS += \
|
||||||
|
filter.h \
|
||||||
|
clipboardAdapter.h
|
||||||
|
|
||||||
|
|
||||||
SOURCES += main.cpp \
|
SOURCES += main.cpp \
|
||||||
filter.cpp \
|
filter.cpp \
|
||||||
clipboardAdapter.cpp
|
clipboardAdapter.cpp
|
||||||
|
|
||||||
|
CONFIG(release, debug|release) {
|
||||||
|
DESTDIR=release
|
||||||
|
}
|
||||||
|
|
||||||
|
CONFIG(debug, debug|release) {
|
||||||
|
DESTDIR=debug
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
RESOURCES += qml.qrc
|
RESOURCES += qml.qrc
|
||||||
|
|
||||||
# Additional import path used to resolve QML modules in Qt Creator's code model
|
# Additional import path used to resolve QML modules in Qt Creator's code model
|
||||||
@ -14,6 +28,8 @@ QML_IMPORT_PATH =
|
|||||||
# Default rules for deployment.
|
# Default rules for deployment.
|
||||||
include(deployment.pri)
|
include(deployment.pri)
|
||||||
|
|
||||||
HEADERS += \
|
# copy language files (xml and images) to the output directory
|
||||||
filter.h \
|
|
||||||
clipboardAdapter.h
|
copydata.commands = $(COPY_DIR) $$shell_path($$PWD/lang) $$shell_path($$DESTDIR/lang)
|
||||||
|
QMAKE_EXTRA_TARGETS += copydata
|
||||||
|
POST_TARGETDEPS += copydata
|
||||||
|
Loading…
Reference in New Issue
Block a user