提交 39d1cda4 编写于 作者: J jp9000

UI: Remove dependence on Qt5Network

Qt5Network has been replaced by libcurl.
上级 13bed1a4
......@@ -115,7 +115,6 @@ if (CMAKE_CONFIGURATION_TYPES MATCHES "Debug")
"${Qt5Core_DIR}/../../../bin/Qt5Cored.dll"
"${Qt5Core_DIR}/../../../bin/Qt5Guid.dll"
"${Qt5Core_DIR}/../../../bin/Qt5Widgetsd.dll"
"${Qt5Core_DIR}/../../../bin/Qt5Networkd.dll"
"${Qt5Core_DIR}/../../../bin/libGLESv2d.dll"
"${Qt5Core_DIR}/../../../bin/libEGLd.dll")
file(GLOB QT_DEBUG_PLAT_BIN_FILES
......@@ -127,7 +126,6 @@ if (CMAKE_CONFIGURATION_TYPES MATCHES "Rel")
"${Qt5Core_DIR}/../../../bin/Qt5Core.dll"
"${Qt5Core_DIR}/../../../bin/Qt5Gui.dll"
"${Qt5Core_DIR}/../../../bin/Qt5Widgets.dll"
"${Qt5Core_DIR}/../../../bin/Qt5Network.dll"
"${Qt5Core_DIR}/../../../bin/libGLESv2.dll"
"${Qt5Core_DIR}/../../../bin/libEGL.dll")
file(GLOB QT_PLAT_BIN_FILES
......
......@@ -26,9 +26,8 @@ else()
endif()
find_package(Qt5Widgets ${FIND_MODE})
find_package(Qt5Network ${FIND_MODE})
if(NOT Qt5Widgets_FOUND OR NOT Qt5Network_FOUND)
if(NOT Qt5Widgets_FOUND)
if (ENABLE_UI)
message(FATAL_ERROR "Failed to find Qt5")
else()
......@@ -206,7 +205,6 @@ target_link_libraries(obs
libobs
libff
Qt5::Widgets
Qt5::Network
${LIBCURL_LIBRARIES}
${obs_PLATFORM_LIBRARIES})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册