From 47f1fec96cbde8a6da739a9bedb4b22df0027976 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Tue, 12 Oct 2021 20:23:27 +0200 Subject: [PATCH] Fix build with Qt6 In Qt6 the Svg includes are split into two different subdirs, namely QtSvg and QtSvgWidgets. So, after 0862042b, it is necessary to also account for the last one. Nothing needs to be done for Qt5. --- config/qt.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/config/qt.m4 b/config/qt.m4 index d41332a2fa..cfd6a596a4 100644 --- a/config/qt.m4 +++ b/config/qt.m4 @@ -440,6 +440,7 @@ qtHaveModule(core5compat): QT += core5compat qtHaveModule(concurrent): QT += concurrent qtHaveModule(gui): QT += gui qtHaveModule(svg): QT += svg +qtHaveModule(svgwidgets): QT += svgwidgets qtHaveModule(widgets): QT += widgets percent.target = % percent.commands = @echo -n "\$(\$(@))\ "