Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Qt6: add ifdef's around qmetatype calls
Halla Rempte54b6b621ddd
diff --git a/libs/image/kis_node.h b/libs/image/kis_node.hindex 2f45f6ce0d..92f830eed6 100644--- a/libs/image/kis_node.h+++ b/libs/image/kis_node.h@@ -416,8 +416,9 @@ private:};+#ifndef Q_DECLARE_KISNODE+#define Q_DECLARE_KISNODEQ_DECLARE_METATYPE(KisNodeSP)-Q_DECLARE_METATYPE(KisNodeWSP)-+#endif#endif