summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorboppybibbles <43829320+boppybibbles@users.noreply.github.com>2020-01-04 19:47:37 +0200
committerboppybibbles <43829320+boppybibbles@users.noreply.github.com>2020-01-04 21:20:14 +0200
commit7c5fa4e14e9dc54ef370fc8af7276dea75af1f1d (patch)
tree2f27dc2e4ff37a617096c99b775627db72adf12f /main
parent9e89a0eb650da29426c06b91845b985d6c4cb86a (diff)
Enable out-of-source builds.
- Rely on `qmake`'s `CONFIG` to generate and embed QM files. - Add all existing TS files to TRANSLATE. - Keep TRANSLATE in single project file: `src/src.pro`. - Update 'steps to translate' section in `CONTRIBUTING.md`.
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp
index c5688537..97d7611d 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -69,6 +69,7 @@ int main(int argc, char *argv[]) {
#endif
Q_INIT_RESOURCE(resources);
+ Q_INIT_RESOURCE(qmake_qmake_qm_files); // qmake names the file
QCoreApplication::setOrganizationName("IJHack");
QCoreApplication::setOrganizationDomain("ijhack.org");