diff --git a/0001-Fix-build-with-Qt-5.15.patch b/0001-Fix-build-with-Qt-5.15.patch new file mode 100644 index 0000000..b380ac0 --- /dev/null +++ b/0001-Fix-build-with-Qt-5.15.patch @@ -0,0 +1,893 @@ +From 1894137109f37802aa8aa9b06a056c3502510981 Mon Sep 17 00:00:00 2001 +From: Heiko Becker +Date: Mon, 23 Mar 2020 21:53:24 +0100 +Subject: [PATCH] Fix build with Qt 5.15 + +QPainterPath is no longer included via qtransform.h (since +5.15.0-beta2, 50d2acdc93b4de2ba56eb67787e2bdcb21dd4bea in qtbase.git). +--- + benchmarks/kis_stroke_benchmark.cpp | 1 + + libs/basicflakes/tools/KoCreatePathTool_p.h | 2 ++ + libs/brush/kis_auto_brush.cpp | 1 + + libs/brush/kis_boundary.cc | 1 + + libs/brush/kis_brush.cpp | 1 + + libs/flake/KoClipMask.cpp | 1 + + libs/flake/KoClipMaskPainter.cpp | 1 + + libs/flake/KoConnectionShape.cpp | 1 + + libs/flake/KoGradientBackground.cpp | 1 + + libs/flake/KoHatchBackground.cpp | 1 + + libs/flake/KoOdfGradientBackground.cpp | 1 + + libs/flake/KoPathShape.cpp | 1 + + libs/flake/KoPatternBackground.cpp | 1 + + libs/flake/KoShapeManager.cpp | 1 + + libs/flake/KoShapeShadow.cpp | 1 + + libs/flake/KoSnapGuide.cpp | 1 + + libs/flake/KoSnapStrategy.cpp | 1 + + libs/flake/svg/SvgParser.cpp | 1 + + libs/flake/tests/TestKoMarkerCollection.cpp | 1 + + libs/flake/tests/TestPointMergeCommand.cpp | 1 + + libs/flake/tests/TestShapeBackgroundCommand.cpp | 1 + + libs/flake/tests/TestSnapStrategy.cpp | 1 + + libs/flake/tests/TestSvgParser.cpp | 1 + + libs/flake/tests/TestSvgText.cpp | 1 + + libs/flake/text/KoSvgTextChunkShape_p.h | 1 + + libs/flake/text/KoSvgTextShape.cpp | 1 + + libs/flake/tools/KoPathTool.cpp | 1 + + libs/global/KisHandlePainterHelper.cpp | 1 + + libs/image/brushengine/kis_paintop_settings.cpp | 1 + + libs/ui/flake/kis_shape_selection.h | 2 ++ + libs/ui/kis_painting_assistants_decoration.cpp | 1 + + libs/ui/kis_selection_decoration.h | 1 + + libs/ui/tool/kis_shape_tool_helper.cpp | 2 ++ + libs/ui/tool/kis_tool_paint.h | 1 + + libs/ui/utils/KisClipboardUtil.cpp | 1 + + libs/ui/widgets/kis_cie_tongue_widget.cpp | 1 + + libs/ui/widgets/kis_curve_widget.cpp | 1 + + libs/ui/widgets/kis_tone_curve_widget.cpp | 1 + + plugins/assistants/Assistants/ConcentricEllipseAssistant.cc | 1 + + plugins/assistants/Assistants/EllipseAssistant.cc | 1 + + plugins/assistants/Assistants/FisheyePointAssistant.cc | 1 + + plugins/assistants/Assistants/InfiniteRulerAssistant.cc | 1 + + plugins/assistants/Assistants/ParallelRulerAssistant.cc | 1 + + plugins/assistants/Assistants/PerspectiveAssistant.cc | 1 + + plugins/assistants/Assistants/RulerAssistant.cc | 1 + + plugins/assistants/Assistants/SplineAssistant.cc | 1 + + plugins/assistants/Assistants/VanishingPointAssistant.cc | 1 + + plugins/assistants/Assistants/kis_assistant_tool.cc | 1 + + plugins/dockers/histogram/histogramdockerwidget.cpp | 1 + + plugins/flake/pathshapes/enhancedpath/EnhancedPathShape.cpp | 2 ++ + plugins/flake/textshape/TextShape.cpp | 1 + + plugins/paintops/curvebrush/curve_brush.cpp | 2 ++ + plugins/paintops/curvebrush/kis_curve_paintop.cpp | 1 + + plugins/paintops/experiment/kis_experiment_paintop.cpp | 2 ++ + plugins/paintops/experiment/kis_experiment_paintop.h | 2 ++ + plugins/tools/defaulttool/defaulttool/DefaultTool.cpp | 1 + + plugins/tools/defaulttool/defaulttool/SelectionDecorator.cpp | 2 ++ + .../tools/CalligraphyTool/KarbonCalligraphicShape.cpp | 1 + + .../karbonplugins/tools/CalligraphyTool/KarbonCalligraphyTool.h | 1 + + plugins/tools/svgtexttool/SvgTextTool.cpp | 1 + + plugins/tools/tool_transform2/kis_free_transform_strategy.cpp | 1 + + plugins/tools/tool_transform2/kis_liquify_paint_helper.cpp | 2 ++ + .../tools/tool_transform2/kis_liquify_transform_strategy.cpp | 1 + + .../tool_transform2/kis_perspective_transform_strategy.cpp | 1 + + plugins/tools/tool_transform2/kis_transform_strategy_base.cpp | 1 + + plugins/tools/tool_transform2/kis_transform_utils.cpp | 1 + + plugins/tools/tool_transform2/kis_warp_transform_strategy.cpp | 1 + + 67 files changed, 76 insertions(+) + +diff --git a/benchmarks/kis_stroke_benchmark.cpp b/benchmarks/kis_stroke_benchmark.cpp +index 93296b2dbe..1a2a4cc951 100644 +--- a/benchmarks/kis_stroke_benchmark.cpp ++++ b/benchmarks/kis_stroke_benchmark.cpp +@@ -26,6 +26,7 @@ inline double drand48() + } + #endif + ++#include + #include + + #include "kis_stroke_benchmark.h" +diff --git a/libs/basicflakes/tools/KoCreatePathTool_p.h b/libs/basicflakes/tools/KoCreatePathTool_p.h +index 386460403f..48f8a0c937 100644 +--- a/libs/basicflakes/tools/KoCreatePathTool_p.h ++++ b/libs/basicflakes/tools/KoCreatePathTool_p.h +@@ -22,6 +22,8 @@ + #ifndef KOCREATEPATHTOOL_P_H + #define KOCREATEPATHTOOL_P_H + ++#include ++ + #include "KoCreatePathTool.h" + #include "KoPathPoint.h" + #include "KoPathPointData.h" +diff --git a/libs/brush/kis_auto_brush.cpp b/libs/brush/kis_auto_brush.cpp +index 67289b4660..a0c59ac96e 100644 +--- a/libs/brush/kis_auto_brush.cpp ++++ b/libs/brush/kis_auto_brush.cpp +@@ -24,6 +24,7 @@ + #include + #include + ++#include + #include + #include + #include +diff --git a/libs/brush/kis_boundary.cc b/libs/brush/kis_boundary.cc +index a599d8e58b..56954289f4 100644 +--- a/libs/brush/kis_boundary.cc ++++ b/libs/brush/kis_boundary.cc +@@ -18,6 +18,7 @@ + + #include "kis_boundary.h" + #include ++#include + #include + + #include "KoColorSpace.h" +diff --git a/libs/brush/kis_brush.cpp b/libs/brush/kis_brush.cpp +index 8a0f787edd..956635d9d3 100644 +--- a/libs/brush/kis_brush.cpp ++++ b/libs/brush/kis_brush.cpp +@@ -25,6 +25,7 @@ + + #include + #include ++#include + #include + #include + #include +diff --git a/libs/flake/KoClipMask.cpp b/libs/flake/KoClipMask.cpp +index 8a21648f32..364d731464 100644 +--- a/libs/flake/KoClipMask.cpp ++++ b/libs/flake/KoClipMask.cpp +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include + #include + #include "kis_algebra_2d.h" + +diff --git a/libs/flake/KoClipMaskPainter.cpp b/libs/flake/KoClipMaskPainter.cpp +index 4fa456c825..e7ea496c8a 100644 +--- a/libs/flake/KoClipMaskPainter.cpp ++++ b/libs/flake/KoClipMaskPainter.cpp +@@ -19,6 +19,7 @@ + #include "KoClipMaskPainter.h" + + #include ++#include + #include + + #include "kis_assert.h" +diff --git a/libs/flake/KoConnectionShape.cpp b/libs/flake/KoConnectionShape.cpp +index e8b5c8003a..d8dfee328f 100644 +--- a/libs/flake/KoConnectionShape.cpp ++++ b/libs/flake/KoConnectionShape.cpp +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include + + #include + +diff --git a/libs/flake/KoGradientBackground.cpp b/libs/flake/KoGradientBackground.cpp +index 3f69791c82..0630d68260 100644 +--- a/libs/flake/KoGradientBackground.cpp ++++ b/libs/flake/KoGradientBackground.cpp +@@ -31,6 +31,7 @@ + #include + #include + #include ++#include + + class KoGradientBackgroundPrivate : public KoShapeBackgroundPrivate + { +diff --git a/libs/flake/KoHatchBackground.cpp b/libs/flake/KoHatchBackground.cpp +index f556f127b5..23a0b48a98 100644 +--- a/libs/flake/KoHatchBackground.cpp ++++ b/libs/flake/KoHatchBackground.cpp +@@ -36,6 +36,7 @@ + #include + #include + #include ++#include + + class KoHatchBackgroundPrivate : public KoColorBackgroundPrivate + { +diff --git a/libs/flake/KoOdfGradientBackground.cpp b/libs/flake/KoOdfGradientBackground.cpp +index 20f7aa727d..3a90a8a98a 100644 +--- a/libs/flake/KoOdfGradientBackground.cpp ++++ b/libs/flake/KoOdfGradientBackground.cpp +@@ -32,6 +32,7 @@ + #include + + #include ++#include + #include + #include + #include +diff --git a/libs/flake/KoPathShape.cpp b/libs/flake/KoPathShape.cpp +index 2768a0e92e..9069877fe9 100644 +--- a/libs/flake/KoPathShape.cpp ++++ b/libs/flake/KoPathShape.cpp +@@ -50,6 +50,7 @@ + + #include + #include ++#include + + #include "kis_global.h" + +diff --git a/libs/flake/KoPatternBackground.cpp b/libs/flake/KoPatternBackground.cpp +index d98ecf8632..46e3f80dea 100644 +--- a/libs/flake/KoPatternBackground.cpp ++++ b/libs/flake/KoPatternBackground.cpp +@@ -37,6 +37,7 @@ + + #include + #include ++#include + #include + + class KoPatternBackgroundPrivate : public KoShapeBackgroundPrivate +diff --git a/libs/flake/KoShapeManager.cpp b/libs/flake/KoShapeManager.cpp +index 43bacd5e31..845c0bb8e5 100644 +--- a/libs/flake/KoShapeManager.cpp ++++ b/libs/flake/KoShapeManager.cpp +@@ -49,6 +49,7 @@ + #include + + #include ++#include + #include + #include + +diff --git a/libs/flake/KoShapeShadow.cpp b/libs/flake/KoShapeShadow.cpp +index 299759097a..df346d7e98 100644 +--- a/libs/flake/KoShapeShadow.cpp ++++ b/libs/flake/KoShapeShadow.cpp +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + #include + #include + #include +diff --git a/libs/flake/KoSnapGuide.cpp b/libs/flake/KoSnapGuide.cpp +index da7f7709a5..0d8e5a9f73 100644 +--- a/libs/flake/KoSnapGuide.cpp ++++ b/libs/flake/KoSnapGuide.cpp +@@ -27,6 +27,7 @@ + #include + + #include ++#include + + #include + +diff --git a/libs/flake/KoSnapStrategy.cpp b/libs/flake/KoSnapStrategy.cpp +index cab1d09b57..8b09b1070d 100644 +--- a/libs/flake/KoSnapStrategy.cpp ++++ b/libs/flake/KoSnapStrategy.cpp +@@ -27,6 +27,7 @@ + #include + + #include ++#include + + #include + +diff --git a/libs/flake/svg/SvgParser.cpp b/libs/flake/svg/SvgParser.cpp +index 4f29f6f072..44a90aafd5 100644 +--- a/libs/flake/svg/SvgParser.cpp ++++ b/libs/flake/svg/SvgParser.cpp +@@ -31,6 +31,7 @@ + + #include + #include ++#include + #include + + #include +diff --git a/libs/flake/tests/TestKoMarkerCollection.cpp b/libs/flake/tests/TestKoMarkerCollection.cpp +index de05a13edc..ac9f570151 100644 +--- a/libs/flake/tests/TestKoMarkerCollection.cpp ++++ b/libs/flake/tests/TestKoMarkerCollection.cpp +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include + #include + #include + #include +diff --git a/libs/flake/tests/TestPointMergeCommand.cpp b/libs/flake/tests/TestPointMergeCommand.cpp +index ee6c6477bb..c6b078e5b8 100644 +--- a/libs/flake/tests/TestPointMergeCommand.cpp ++++ b/libs/flake/tests/TestPointMergeCommand.cpp +@@ -23,6 +23,7 @@ + #include "KoPathPoint.h" + #include "KoPathPointData.h" + #include ++#include + #include + #include + +diff --git a/libs/flake/tests/TestShapeBackgroundCommand.cpp b/libs/flake/tests/TestShapeBackgroundCommand.cpp +index a3a44cd46d..a8a8c164a6 100644 +--- a/libs/flake/tests/TestShapeBackgroundCommand.cpp ++++ b/libs/flake/tests/TestShapeBackgroundCommand.cpp +@@ -24,6 +24,7 @@ + #include "KoShapePaintingContext.h" + #include "KoViewConverter.h" + ++#include + #include + + void TestShapeBackgroundCommand::refCounting() +diff --git a/libs/flake/tests/TestSnapStrategy.cpp b/libs/flake/tests/TestSnapStrategy.cpp +index 8df1995908..70342dc9bc 100644 +--- a/libs/flake/tests/TestSnapStrategy.cpp ++++ b/libs/flake/tests/TestSnapStrategy.cpp +@@ -18,6 +18,7 @@ + */ + + #include "TestSnapStrategy.h" ++#include + #include + #include "KoSnapStrategy.h" + #include "KoPathShape.h" +diff --git a/libs/flake/tests/TestSvgParser.cpp b/libs/flake/tests/TestSvgParser.cpp +index b03ac84435..f8e748b6b2 100644 +--- a/libs/flake/tests/TestSvgParser.cpp ++++ b/libs/flake/tests/TestSvgParser.cpp +@@ -19,6 +19,7 @@ + #include "TestSvgParser.h" + + ++#include + #include + #include + #include +diff --git a/libs/flake/tests/TestSvgText.cpp b/libs/flake/tests/TestSvgText.cpp +index d2bb6bd225..da81be0d53 100644 +--- a/libs/flake/tests/TestSvgText.cpp ++++ b/libs/flake/tests/TestSvgText.cpp +@@ -768,6 +768,7 @@ void TestSvgText::testRightToLeft() + + #include + #include ++#include + + void TestSvgText::testQtBidi() + { +diff --git a/libs/flake/text/KoSvgTextChunkShape_p.h b/libs/flake/text/KoSvgTextChunkShape_p.h +index 8c59d969ca..a9fd5c53f2 100644 +--- a/libs/flake/text/KoSvgTextChunkShape_p.h ++++ b/libs/flake/text/KoSvgTextChunkShape_p.h +@@ -21,6 +21,7 @@ + #include "KoSvgText.h" + #include "KoSvgTextProperties.h" + #include ++#include + #include + + class SvgGraphicsContext; +diff --git a/libs/flake/text/KoSvgTextShape.cpp b/libs/flake/text/KoSvgTextShape.cpp +index 45b9459288..8fd5774399 100644 +--- a/libs/flake/text/KoSvgTextShape.cpp ++++ b/libs/flake/text/KoSvgTextShape.cpp +@@ -48,6 +48,7 @@ + #include + #include + #include ++#include + #include + + #include +diff --git a/libs/flake/tools/KoPathTool.cpp b/libs/flake/tools/KoPathTool.cpp +index dae2d081c9..ce043a4574 100644 +--- a/libs/flake/tools/KoPathTool.cpp ++++ b/libs/flake/tools/KoPathTool.cpp +@@ -66,6 +66,7 @@ + #include + #include + #include ++#include + #include + #include + +diff --git a/libs/global/KisHandlePainterHelper.cpp b/libs/global/KisHandlePainterHelper.cpp +index 7d6662977e..24b8137186 100644 +--- a/libs/global/KisHandlePainterHelper.cpp ++++ b/libs/global/KisHandlePainterHelper.cpp +@@ -19,6 +19,7 @@ + #include "KisHandlePainterHelper.h" + + #include ++#include + #include "kis_algebra_2d.h" + #include "kis_painting_tweaks.h" + +diff --git a/libs/image/brushengine/kis_paintop_settings.cpp b/libs/image/brushengine/kis_paintop_settings.cpp +index 87f5c53a25..0e43fc9eeb 100644 +--- a/libs/image/brushengine/kis_paintop_settings.cpp ++++ b/libs/image/brushengine/kis_paintop_settings.cpp +@@ -21,6 +21,7 @@ + + #include + #include ++#include + #include + + #include +diff --git a/libs/ui/flake/kis_shape_selection.h b/libs/ui/flake/kis_shape_selection.h +index 3b2e8530e1..805d5c6f6f 100644 +--- a/libs/ui/flake/kis_shape_selection.h ++++ b/libs/ui/flake/kis_shape_selection.h +@@ -18,6 +18,8 @@ + #ifndef KIS_SHAPE_SELECTION_H + #define KIS_SHAPE_SELECTION_H + ++#include ++ + #include + #include + #include +diff --git a/libs/ui/kis_painting_assistants_decoration.cpp b/libs/ui/kis_painting_assistants_decoration.cpp +index 11838e6079..a0a684c330 100644 +--- a/libs/ui/kis_painting_assistants_decoration.cpp ++++ b/libs/ui/kis_painting_assistants_decoration.cpp +@@ -33,6 +33,7 @@ + #include "KisViewManager.h" + + #include ++#include + #include + + struct KisPaintingAssistantsDecoration::Private { +diff --git a/libs/ui/kis_selection_decoration.h b/libs/ui/kis_selection_decoration.h +index ea90ebb475..557328df71 100644 +--- a/libs/ui/kis_selection_decoration.h ++++ b/libs/ui/kis_selection_decoration.h +@@ -19,6 +19,7 @@ + #ifndef _KIS_SELECTION_DECORATION_H_ + #define _KIS_SELECTION_DECORATION_H_ + ++#include + #include + #include + #include +diff --git a/libs/ui/tool/kis_shape_tool_helper.cpp b/libs/ui/tool/kis_shape_tool_helper.cpp +index 4edab2a3d7..d914ff9598 100644 +--- a/libs/ui/tool/kis_shape_tool_helper.cpp ++++ b/libs/ui/tool/kis_shape_tool_helper.cpp +@@ -18,6 +18,8 @@ + + #include "kis_shape_tool_helper.h" + ++#include ++ + #include + #include + #include +diff --git a/libs/ui/tool/kis_tool_paint.h b/libs/ui/tool/kis_tool_paint.h +index d3ea6f69eb..084fd10127 100644 +--- a/libs/ui/tool/kis_tool_paint.h ++++ b/libs/ui/tool/kis_tool_paint.h +@@ -22,6 +22,7 @@ + #include "kis_tool.h" + + #include ++#include + #include + #include + +diff --git a/libs/ui/utils/KisClipboardUtil.cpp b/libs/ui/utils/KisClipboardUtil.cpp +index 49bc209a08..65bb7e70ee 100644 +--- a/libs/ui/utils/KisClipboardUtil.cpp ++++ b/libs/ui/utils/KisClipboardUtil.cpp +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + + namespace KisClipboardUtil { + +diff --git a/libs/ui/widgets/kis_cie_tongue_widget.cpp b/libs/ui/widgets/kis_cie_tongue_widget.cpp +index 79a8bfc684..bbec19d70d 100644 +--- a/libs/ui/widgets/kis_cie_tongue_widget.cpp ++++ b/libs/ui/widgets/kis_cie_tongue_widget.cpp +@@ -40,6 +40,7 @@ wavelength, and thus define the outline of the CIE "tongue" diagram. + + #include + #include ++#include + #include + #include + #include +diff --git a/libs/ui/widgets/kis_curve_widget.cpp b/libs/ui/widgets/kis_curve_widget.cpp +index 1c5292d21f..09de36eea8 100644 +--- a/libs/ui/widgets/kis_curve_widget.cpp ++++ b/libs/ui/widgets/kis_curve_widget.cpp +@@ -27,6 +27,7 @@ + + #include + #include ++#include + #include + #include + #include +diff --git a/libs/ui/widgets/kis_tone_curve_widget.cpp b/libs/ui/widgets/kis_tone_curve_widget.cpp +index 679fed4fd5..6eaca4b329 100644 +--- a/libs/ui/widgets/kis_tone_curve_widget.cpp ++++ b/libs/ui/widgets/kis_tone_curve_widget.cpp +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + #include + #include + #include +diff --git a/plugins/assistants/Assistants/ConcentricEllipseAssistant.cc b/plugins/assistants/Assistants/ConcentricEllipseAssistant.cc +index 8c14b969bf..44078f323a 100644 +--- a/plugins/assistants/Assistants/ConcentricEllipseAssistant.cc ++++ b/plugins/assistants/Assistants/ConcentricEllipseAssistant.cc +@@ -23,6 +23,7 @@ + #include + #include "kis_debug.h" + #include ++#include + #include + #include + #include +diff --git a/plugins/assistants/Assistants/EllipseAssistant.cc b/plugins/assistants/Assistants/EllipseAssistant.cc +index 8b3b16c64c..09d48fd972 100644 +--- a/plugins/assistants/Assistants/EllipseAssistant.cc ++++ b/plugins/assistants/Assistants/EllipseAssistant.cc +@@ -23,6 +23,7 @@ + #include + #include "kis_debug.h" + #include ++#include + #include + #include + +diff --git a/plugins/assistants/Assistants/FisheyePointAssistant.cc b/plugins/assistants/Assistants/FisheyePointAssistant.cc +index 8338f4b4ab..a5c0510289 100644 +--- a/plugins/assistants/Assistants/FisheyePointAssistant.cc ++++ b/plugins/assistants/Assistants/FisheyePointAssistant.cc +@@ -25,6 +25,7 @@ + #include + + #include ++#include + #include + #include + +diff --git a/plugins/assistants/Assistants/InfiniteRulerAssistant.cc b/plugins/assistants/Assistants/InfiniteRulerAssistant.cc +index 4fe1907137..03da329b38 100644 +--- a/plugins/assistants/Assistants/InfiniteRulerAssistant.cc ++++ b/plugins/assistants/Assistants/InfiniteRulerAssistant.cc +@@ -25,6 +25,7 @@ + #include + + #include ++#include + #include + #include + +diff --git a/plugins/assistants/Assistants/ParallelRulerAssistant.cc b/plugins/assistants/Assistants/ParallelRulerAssistant.cc +index 2deb3d3ab2..405a172e59 100644 +--- a/plugins/assistants/Assistants/ParallelRulerAssistant.cc ++++ b/plugins/assistants/Assistants/ParallelRulerAssistant.cc +@@ -25,6 +25,7 @@ + #include + + #include ++#include + #include + #include + +diff --git a/plugins/assistants/Assistants/PerspectiveAssistant.cc b/plugins/assistants/Assistants/PerspectiveAssistant.cc +index 46007b5e3c..bcb266997f 100644 +--- a/plugins/assistants/Assistants/PerspectiveAssistant.cc ++++ b/plugins/assistants/Assistants/PerspectiveAssistant.cc +@@ -24,6 +24,7 @@ + #include + + #include ++#include + #include + #include + +diff --git a/plugins/assistants/Assistants/RulerAssistant.cc b/plugins/assistants/Assistants/RulerAssistant.cc +index 48cc15e6a2..64f1772185 100644 +--- a/plugins/assistants/Assistants/RulerAssistant.cc ++++ b/plugins/assistants/Assistants/RulerAssistant.cc +@@ -23,6 +23,7 @@ + #include + + #include ++#include + #include + #include + +diff --git a/plugins/assistants/Assistants/SplineAssistant.cc b/plugins/assistants/Assistants/SplineAssistant.cc +index 20b19dda6e..dfbd87227e 100644 +--- a/plugins/assistants/Assistants/SplineAssistant.cc ++++ b/plugins/assistants/Assistants/SplineAssistant.cc +@@ -23,6 +23,7 @@ + #include + + #include ++#include + #include + #include + +diff --git a/plugins/assistants/Assistants/VanishingPointAssistant.cc b/plugins/assistants/Assistants/VanishingPointAssistant.cc +index 3cae70dd14..dbc66be579 100644 +--- a/plugins/assistants/Assistants/VanishingPointAssistant.cc ++++ b/plugins/assistants/Assistants/VanishingPointAssistant.cc +@@ -25,6 +25,7 @@ + #include + + #include ++#include + #include + #include + +diff --git a/plugins/assistants/Assistants/kis_assistant_tool.cc b/plugins/assistants/Assistants/kis_assistant_tool.cc +index 4cff446818..37ac8eef3a 100644 +--- a/plugins/assistants/Assistants/kis_assistant_tool.cc ++++ b/plugins/assistants/Assistants/kis_assistant_tool.cc +@@ -21,6 +21,7 @@ + #include + + #include ++#include + #include + #include + #include +diff --git a/plugins/dockers/histogram/histogramdockerwidget.cpp b/plugins/dockers/histogram/histogramdockerwidget.cpp +index 5c8e29d929..83aa432f6e 100644 +--- a/plugins/dockers/histogram/histogramdockerwidget.cpp ++++ b/plugins/dockers/histogram/histogramdockerwidget.cpp +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + #include + + #include "KoChannelInfo.h" +diff --git a/plugins/flake/pathshapes/enhancedpath/EnhancedPathShape.cpp b/plugins/flake/pathshapes/enhancedpath/EnhancedPathShape.cpp +index 3c246c9c43..96d1892994 100644 +--- a/plugins/flake/pathshapes/enhancedpath/EnhancedPathShape.cpp ++++ b/plugins/flake/pathshapes/enhancedpath/EnhancedPathShape.cpp +@@ -30,6 +30,8 @@ + #include "EnhancedPathHandle.h" + #include "EnhancedPathFormula.h" + ++#include ++ + #include + #include + #include +diff --git a/plugins/flake/textshape/TextShape.cpp b/plugins/flake/textshape/TextShape.cpp +index c06c799109..5b2fd123a9 100644 +--- a/plugins/flake/textshape/TextShape.cpp ++++ b/plugins/flake/textshape/TextShape.cpp +@@ -57,6 +57,7 @@ + #include + #include + #include ++#include + #include + #include + +diff --git a/plugins/paintops/curvebrush/curve_brush.cpp b/plugins/paintops/curvebrush/curve_brush.cpp +index 347cc317e4..82bc86be23 100644 +--- a/plugins/paintops/curvebrush/curve_brush.cpp ++++ b/plugins/paintops/curvebrush/curve_brush.cpp +@@ -18,6 +18,8 @@ + + #include "curve_brush.h" + ++#include ++ + #include + #include + +diff --git a/plugins/paintops/curvebrush/kis_curve_paintop.cpp b/plugins/paintops/curvebrush/kis_curve_paintop.cpp +index 295ee55d0b..ed68e3fe83 100644 +--- a/plugins/paintops/curvebrush/kis_curve_paintop.cpp ++++ b/plugins/paintops/curvebrush/kis_curve_paintop.cpp +@@ -20,6 +20,7 @@ + + #include + ++#include + #include + + #include +diff --git a/plugins/paintops/experiment/kis_experiment_paintop.cpp b/plugins/paintops/experiment/kis_experiment_paintop.cpp +index 54764d8233..7c429b4ae1 100644 +--- a/plugins/paintops/experiment/kis_experiment_paintop.cpp ++++ b/plugins/paintops/experiment/kis_experiment_paintop.cpp +@@ -22,6 +22,8 @@ + + #include + ++#include ++ + #include + + #include +diff --git a/plugins/paintops/experiment/kis_experiment_paintop.h b/plugins/paintops/experiment/kis_experiment_paintop.h +index 19dec9b9d8..27f4fe3616 100644 +--- a/plugins/paintops/experiment/kis_experiment_paintop.h ++++ b/plugins/paintops/experiment/kis_experiment_paintop.h +@@ -19,6 +19,8 @@ + #ifndef KIS_EXPERIMENT_PAINTOP_H_ + #define KIS_EXPERIMENT_PAINTOP_H_ + ++#include ++ + #include + #include + #include +diff --git a/plugins/tools/defaulttool/defaulttool/DefaultTool.cpp b/plugins/tools/defaulttool/defaulttool/DefaultTool.cpp +index de2787fc11..363025ed60 100644 +--- a/plugins/tools/defaulttool/defaulttool/DefaultTool.cpp ++++ b/plugins/tools/defaulttool/defaulttool/DefaultTool.cpp +@@ -67,6 +67,7 @@ + + #include + ++#include + #include + #include + #include +diff --git a/plugins/tools/defaulttool/defaulttool/SelectionDecorator.cpp b/plugins/tools/defaulttool/defaulttool/SelectionDecorator.cpp +index 2c8c7dbe0d..ab560d6f44 100644 +--- a/plugins/tools/defaulttool/defaulttool/SelectionDecorator.cpp ++++ b/plugins/tools/defaulttool/defaulttool/SelectionDecorator.cpp +@@ -21,6 +21,8 @@ + + #include "SelectionDecorator.h" + ++#include ++ + #include + #include + #include +diff --git a/plugins/tools/karbonplugins/tools/CalligraphyTool/KarbonCalligraphicShape.cpp b/plugins/tools/karbonplugins/tools/CalligraphyTool/KarbonCalligraphicShape.cpp +index 2a461cbdc2..1b9d81b733 100644 +--- a/plugins/tools/karbonplugins/tools/CalligraphyTool/KarbonCalligraphicShape.cpp ++++ b/plugins/tools/karbonplugins/tools/CalligraphyTool/KarbonCalligraphicShape.cpp +@@ -28,6 +28,7 @@ + + #include + #include ++#include + + #include + #include +diff --git a/plugins/tools/karbonplugins/tools/CalligraphyTool/KarbonCalligraphyTool.h b/plugins/tools/karbonplugins/tools/CalligraphyTool/KarbonCalligraphyTool.h +index 5bf3a8d320..e2329d1d9b 100644 +--- a/plugins/tools/karbonplugins/tools/CalligraphyTool/KarbonCalligraphyTool.h ++++ b/plugins/tools/karbonplugins/tools/CalligraphyTool/KarbonCalligraphyTool.h +@@ -22,6 +22,7 @@ + + #include + #include ++#include + #include + + #include "KarbonCalligraphyOptionWidget.h" +diff --git a/plugins/tools/svgtexttool/SvgTextTool.cpp b/plugins/tools/svgtexttool/SvgTextTool.cpp +index b735ea7457..91325f52db 100644 +--- a/plugins/tools/svgtexttool/SvgTextTool.cpp ++++ b/plugins/tools/svgtexttool/SvgTextTool.cpp +@@ -23,6 +23,7 @@ + #include "SvgTextChangeCommand.h" + + #include ++#include + #include + #include + #include +diff --git a/plugins/tools/tool_transform2/kis_free_transform_strategy.cpp b/plugins/tools/tool_transform2/kis_free_transform_strategy.cpp +index 9fd5578c6d..6f5c298f1d 100644 +--- a/plugins/tools/tool_transform2/kis_free_transform_strategy.cpp ++++ b/plugins/tools/tool_transform2/kis_free_transform_strategy.cpp +@@ -20,6 +20,7 @@ + + #include + #include ++#include + #include + + #include +diff --git a/plugins/tools/tool_transform2/kis_liquify_paint_helper.cpp b/plugins/tools/tool_transform2/kis_liquify_paint_helper.cpp +index 93b0067db8..3fa1d8eeac 100644 +--- a/plugins/tools/tool_transform2/kis_liquify_paint_helper.cpp ++++ b/plugins/tools/tool_transform2/kis_liquify_paint_helper.cpp +@@ -28,6 +28,8 @@ + #include "kis_liquify_paintop.h" + #include "kis_liquify_properties.h" + ++#include ++ + struct KisLiquifyPaintHelper::Private + { + Private(const KisCoordinatesConverter *_converter) +diff --git a/plugins/tools/tool_transform2/kis_liquify_transform_strategy.cpp b/plugins/tools/tool_transform2/kis_liquify_transform_strategy.cpp +index 96628801aa..12d569bf6d 100644 +--- a/plugins/tools/tool_transform2/kis_liquify_transform_strategy.cpp ++++ b/plugins/tools/tool_transform2/kis_liquify_transform_strategy.cpp +@@ -22,6 +22,7 @@ + + #include + #include ++#include + + #include "KoPointerEvent.h" + +diff --git a/plugins/tools/tool_transform2/kis_perspective_transform_strategy.cpp b/plugins/tools/tool_transform2/kis_perspective_transform_strategy.cpp +index 0cff5ed2a6..b74d986c0b 100644 +--- a/plugins/tools/tool_transform2/kis_perspective_transform_strategy.cpp ++++ b/plugins/tools/tool_transform2/kis_perspective_transform_strategy.cpp +@@ -20,6 +20,7 @@ + + #include + #include ++#include + #include + #include + +diff --git a/plugins/tools/tool_transform2/kis_transform_strategy_base.cpp b/plugins/tools/tool_transform2/kis_transform_strategy_base.cpp +index 1e7603ef39..0671ed5c9f 100644 +--- a/plugins/tools/tool_transform2/kis_transform_strategy_base.cpp ++++ b/plugins/tools/tool_transform2/kis_transform_strategy_base.cpp +@@ -19,6 +19,7 @@ + #include "kis_transform_strategy_base.h" + + #include ++#include + #include + #include "KoPointerEvent.h" + +diff --git a/plugins/tools/tool_transform2/kis_transform_utils.cpp b/plugins/tools/tool_transform2/kis_transform_utils.cpp +index 1fbbd525be..c7792f393c 100644 +--- a/plugins/tools/tool_transform2/kis_transform_utils.cpp ++++ b/plugins/tools/tool_transform2/kis_transform_utils.cpp +@@ -19,6 +19,7 @@ + #include "kis_transform_utils.h" + + #include ++#include + #include + #include + #include "tool_transform_args.h" +diff --git a/plugins/tools/tool_transform2/kis_warp_transform_strategy.cpp b/plugins/tools/tool_transform2/kis_warp_transform_strategy.cpp +index fdad9f32b2..9a2dd4daca 100644 +--- a/plugins/tools/tool_transform2/kis_warp_transform_strategy.cpp ++++ b/plugins/tools/tool_transform2/kis_warp_transform_strategy.cpp +@@ -22,6 +22,7 @@ + + #include + #include ++#include + + #include "kis_coordinates_converter.h" + #include "tool_transform_args.h" +-- +2.26.2 + diff --git a/krita.changes b/krita.changes index f3db4d6..ea002db 100644 --- a/krita.changes +++ b/krita.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jun 4 14:35:42 UTC 2020 - Christophe Giboudeaux + +- Add patch to fix build with Qt 5.15: + * 0001-Fix-build-with-Qt-5.15.patch + ------------------------------------------------------------------- Thu Mar 26 15:26:54 UTC 2020 - wbauer@tmo.at diff --git a/krita.spec b/krita.spec index 7e90ca5..57a0159 100644 --- a/krita.spec +++ b/krita.spec @@ -31,6 +31,8 @@ License: GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND Group: Productivity/Graphics/Bitmap Editors URL: https://www.krita.org/ Source0: https://download.kde.org/stable/krita/%{version}/krita-%{version}.tar.xz +# PATCH-FIX-UPSTREAM +Patch0: 0001-Fix-build-with-Qt-5.15.patch BuildRequires: OpenColorIO-devel BuildRequires: OpenEXR-devel BuildRequires: extra-cmake-modules @@ -104,7 +106,7 @@ Development headers and libraries for Krita. %lang_package %prep -%setup -q -n krita-%{version} +%autosetup -p1 %build # install translations to %%{_kf5_localedir} so they don't clash with the krita translations in calligra-l10n (KDE4 based)