From: Enrico Forestieri Date: Tue, 12 Oct 2021 18:23:27 +0000 (+0200) Subject: Fix build with Qt6 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=47f1fec96cbde8a6da739a9bedb4b22df0027976;p=features.git 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. --- 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 "\$(\$(@))\ "