summaryrefslogtreecommitdiffstats
path: root/qtpass.pro
diff options
context:
space:
mode:
authorMaciej S. Szmigiero <mail@maciej.szmigiero.name>2019-09-29 15:16:47 +0200
committerMaciej S. Szmigiero <mail@maciej.szmigiero.name>2019-09-29 15:16:52 +0200
commit65aa4957ad0167880ef990bb355b8bdcd2875b7d (patch)
tree6766fbc8836552512850b38d3f7434df1d7b17c9 /qtpass.pro
parentfd1369d8fcda295af879e5db5e28099881f6ca4a (diff)
Make sure resources are built just once
Currently, the project resources are built twice: the first time in the "main" directory and the second time in the "src" directory. This is because they are specified both in main.pro and src.pro qmake project files (and in qtpass.pro, too). They should be specified in just one such project file instead so they are built just once. Let's leave them in src.pro since that's where localization *.ts -> *.qm dependencies are provided. For this, a Q_INIT_RESOURCE() statement is needed so they are properly linked to by the main application.
Diffstat (limited to 'qtpass.pro')
-rw-r--r--qtpass.pro2
1 files changed, 0 insertions, 2 deletions
diff --git a/qtpass.pro b/qtpass.pro
index 258abe00..bb0058ac 100644
--- a/qtpass.pro
+++ b/qtpass.pro
@@ -9,8 +9,6 @@ OTHER_FILES += LICENSE \
README.md \
qtpass.1
-RESOURCES += resources.qrc
-
# add Makefile target to generate code coverage using gcov
gcov.target = gcov
gcov.commands += cd src/$$OBJECTS_DIR && gcov "*.gcda" 1>/dev/null $$escape_expand(\\n\\t)