From 7c5fa4e14e9dc54ef370fc8af7276dea75af1f1d Mon Sep 17 00:00:00 2001 From: boppybibbles <43829320+boppybibbles@users.noreply.github.com> Date: Sat, 4 Jan 2020 19:47:37 +0200 Subject: 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`. --- main/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'main') 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"); -- cgit v1.2.3