From 3193e4469bb2aacd0c84b8d31d7eaa768da877e9 Mon Sep 17 00:00:00 2001 From: jordi fita mas Date: Mon, 16 Dec 2024 19:22:39 +0100 Subject: [PATCH] Manually include moc_database.cpp It consistently makes the build take a couple seconds(!) less than leaving the compilation of these files to CMake; i have no idea why. --- src/database.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/database.cpp b/src/database.cpp index aa2b4fd..71620dd 100644 --- a/src/database.cpp +++ b/src/database.cpp @@ -25,3 +25,5 @@ QFuture Database::open(const QString &user, const QString &password) } }); } + +#include "moc_database.cpp"