]> git.lyx.org Git - lyx.git/commitdiff
Fix build with Qt6
authorEnrico Forestieri <forenr@lyx.org>
Tue, 12 Oct 2021 18:23:27 +0000 (20:23 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Tue, 12 Oct 2021 18:23:27 +0000 (20:23 +0200)
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

index d41332a2fa5529a39365a69733aef2619baebf93..cfd6a596a4f41563d92162b1c52ffe7737515b44 100644 (file)
@@ -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 "\$(\$(@))\ "