Qt6: fix Qt5 builds [2]

This commit is contained in:
tobtoht 2022-05-24 18:06:34 +02:00
parent 45d2dc13d4
commit f1cb266f70
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C

View file

@ -21,7 +21,7 @@ if (WITH_SCANNER)
MultimediaWidgets)
endif()
find_package(Qt6 REQUIRED COMPONENTS ${QT_COMPONENTS} SvgWidgets)
find_package(Qt6 COMPONENTS ${QT_COMPONENTS} SvgWidgets)
if (NOT Qt6_FOUND)
find_package(Qt5 5.15 REQUIRED COMPONENTS ${QT_COMPONENTS})
endif()