From 3106ad724ee5ce7b8327ddc6d48929503fce61a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=A4rkl?= Date: Sun, 15 Oct 2017 11:25:59 +0200 Subject: [PATCH] Remove QML QtWebEngine dependency --- src/CMakeLists.txt | 4 ++-- src/cutter.pro | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 559c4f20..068d3cdc 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -12,7 +12,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTOUIC ON) set(CMAKE_AUTORCC ON) -find_package(Qt5 REQUIRED COMPONENTS Core Widgets Gui WebEngine WebEngineWidgets) +find_package(Qt5 REQUIRED COMPONENTS Core Widgets Gui WebEngineWidgets) if(WIN32) @@ -65,6 +65,6 @@ add_definitions("-DAPP_VERSION=\"${CUTTER_VERSION_FULL}\"") add_executable(cutter ${UI_FILES} ${QRC_FILES} ${SOURCE_FILES} ${HEADER_FILES}) -qt5_use_modules(cutter Core Widgets Gui WebEngine WebEngineWidgets) +qt5_use_modules(cutter Core Widgets Gui WebEngineWidgets) target_link_libraries(cutter ${RADARE2_LIBRARIES}) diff --git a/src/cutter.pro b/src/cutter.pro index b50ccdae..a1868df5 100644 --- a/src/cutter.pro +++ b/src/cutter.pro @@ -7,7 +7,7 @@ VERSION = 1.0 ICON = img/Enso.icns -QT += core gui widgets webengine webenginewidgets +QT += core gui widgets webenginewidgets QT_CONFIG -= no-pkg-config CONFIG += c++11