mirror of
https://github.com/feather-wallet/feather.git
synced 2025-03-12 09:37:47 +00:00
Qt6: fix Qt5 builds [3]
This commit is contained in:
parent
f1cb266f70
commit
ed048edb23
1 changed files with 10 additions and 7 deletions
|
@ -252,7 +252,6 @@ target_link_libraries(feather
|
||||||
Qt::Gui
|
Qt::Gui
|
||||||
Qt::Network
|
Qt::Network
|
||||||
Qt::Svg
|
Qt::Svg
|
||||||
Qt::SvgWidgets
|
|
||||||
Qt::Xml
|
Qt::Xml
|
||||||
Qt::WebSockets
|
Qt::WebSockets
|
||||||
${ICU_LIBRARIES}
|
${ICU_LIBRARIES}
|
||||||
|
@ -266,6 +265,10 @@ target_link_libraries(feather
|
||||||
SingleApplication::SingleApplication
|
SingleApplication::SingleApplication
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(Qt6_FOUND)
|
||||||
|
target_link_libraries(feather Qt::SvgWidgets)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(DEVICE_TREZOR_READY)
|
if(DEVICE_TREZOR_READY)
|
||||||
target_link_libraries(feather ${TREZOR_DEP_LIBS})
|
target_link_libraries(feather ${TREZOR_DEP_LIBS})
|
||||||
endif()
|
endif()
|
||||||
|
@ -279,20 +282,20 @@ endif()
|
||||||
|
|
||||||
if(NOT APPLE AND NOT Qt6_FOUND)
|
if(NOT APPLE AND NOT Qt6_FOUND)
|
||||||
target_link_libraries(feather
|
target_link_libraries(feather
|
||||||
Qt::QSvgIconPlugin
|
Qt5::QSvgIconPlugin
|
||||||
Qt::QSvgPlugin
|
Qt5::QSvgPlugin
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(STATIC)
|
if(STATIC AND NOT Qt6_FOUND)
|
||||||
if(NOT Qt6_FOUND)
|
if(NOT Qt6_FOUND)
|
||||||
target_link_libraries(feather
|
target_link_libraries(feather
|
||||||
Qt::QSvgIconPlugin
|
Qt5::QSvgIconPlugin
|
||||||
Qt::QSvgPlugin)
|
Qt5::QSvgPlugin)
|
||||||
endif()
|
endif()
|
||||||
if(UNIX AND NOT APPLE)
|
if(UNIX AND NOT APPLE)
|
||||||
target_link_libraries(feather
|
target_link_libraries(feather
|
||||||
Qt::QXcbIntegrationPlugin)
|
Qt5::QXcbIntegrationPlugin)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue