mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-16 17:27:38 +00:00
Qt6: fix Qt5 builds
This commit is contained in:
parent
e7085b8d9e
commit
45d2dc13d4
1 changed files with 1 additions and 2 deletions
|
@ -11,7 +11,6 @@ set(QT_COMPONENTS
|
||||||
Gui
|
Gui
|
||||||
Network
|
Network
|
||||||
Svg
|
Svg
|
||||||
SvgWidgets
|
|
||||||
Xml
|
Xml
|
||||||
WebSockets
|
WebSockets
|
||||||
)
|
)
|
||||||
|
@ -22,7 +21,7 @@ if (WITH_SCANNER)
|
||||||
MultimediaWidgets)
|
MultimediaWidgets)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(Qt6 REQUIRED COMPONENTS ${QT_COMPONENTS})
|
find_package(Qt6 REQUIRED COMPONENTS ${QT_COMPONENTS} SvgWidgets)
|
||||||
if (NOT Qt6_FOUND)
|
if (NOT Qt6_FOUND)
|
||||||
find_package(Qt5 5.15 REQUIRED COMPONENTS ${QT_COMPONENTS})
|
find_package(Qt5 5.15 REQUIRED COMPONENTS ${QT_COMPONENTS})
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue