# HG changeset patch # User Wuzzy # Date 1521144916 -3600 # Node ID 02bf6902eeb0e5f2f45fa61eaf8c7d7c408dbddc # Parent 1c390781f72fb0dd19a6e6d223a90c92735284f5 Remove Qt SVG and Qt OpenGL as hard dependencies Qt SVG is not used in the frontend (no SVGs are rendered). Neither is Qt OpenGL used. Qt OpenGL is discouraged anyway. diff -r 1c390781f72f -r 02bf6902eeb0 QTfrontend/CMakeLists.txt --- a/QTfrontend/CMakeLists.txt Thu Mar 15 17:53:34 2018 +0100 +++ b/QTfrontend/CMakeLists.txt Thu Mar 15 21:15:16 2018 +0100 @@ -1,4 +1,4 @@ -find_package(Qt5 COMPONENTS Core Gui Network Svg Xml OpenGL) +find_package(Qt5 COMPONENTS Core Widgets Gui Network Xml) include_directories(${Qt5Core_PRIVATE_INCLUDE_DIRS}) @@ -182,7 +182,7 @@ list(APPEND HW_LINK_LIBS physfs physlayer - Qt5::Core Qt5::Gui Qt5::Network Qt5::Svg Qt5::Xml Qt5::OpenGL + Qt5::Core Qt5::Widgets Qt5::Gui Qt5::Network Qt5::Xml ) list(APPEND HW_LINK_LIBS diff -r 1c390781f72f -r 02bf6902eeb0 project_files/hedgewars.pro --- a/project_files/hedgewars.pro Thu Mar 15 17:53:34 2018 +0100 +++ b/project_files/hedgewars.pro Thu Mar 15 21:15:16 2018 +0100 @@ -16,6 +16,7 @@ DESTDIR = ../bin +QT += widgets QT += network QT += webkit