Remove QML QtWebEngine dependency

This commit is contained in:
Florian Märkl 2017-10-15 11:25:59 +02:00
parent 9c487b63ca
commit 3106ad724e
2 changed files with 3 additions and 3 deletions

View File

@ -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})

View File

@ -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