From e1c158c49ad19139b8e9164bd7b2c1c0f6e66f70 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Fri, 24 Mar 2017 19:24:06 -0700 Subject: [PATCH] Qt: Remove QtNetwork dependency --- src/platform/qt/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/platform/qt/CMakeLists.txt b/src/platform/qt/CMakeLists.txt index 17b2eeccc..dfc4f1f22 100644 --- a/src/platform/qt/CMakeLists.txt +++ b/src/platform/qt/CMakeLists.txt @@ -32,7 +32,6 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON) find_package(Qt5Multimedia) find_package(Qt5OpenGL) -find_package(Qt5Network) find_package(Qt5Widgets) if(NOT BUILD_GL AND NOT BUILD_GLES2) @@ -41,7 +40,7 @@ if(NOT BUILD_GL AND NOT BUILD_GLES2) return() endif() -if(NOT Qt5OpenGL_FOUND OR NOT Qt5Widgets_FOUND OR NOT Qt5Network_FOUND) +if(NOT Qt5OpenGL_FOUND OR NOT Qt5Widgets_FOUND) message(WARNING "Cannot find Qt modules") set(BUILD_QT OFF PARENT_SCOPE) return()