mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 03:46:11 +00:00
Remove QML QtWebEngine dependency
This commit is contained in:
parent
9c487b63ca
commit
3106ad724e
@ -12,7 +12,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|||||||
set(CMAKE_AUTOMOC ON)
|
set(CMAKE_AUTOMOC ON)
|
||||||
set(CMAKE_AUTOUIC ON)
|
set(CMAKE_AUTOUIC ON)
|
||||||
set(CMAKE_AUTORCC 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)
|
if(WIN32)
|
||||||
@ -65,6 +65,6 @@ add_definitions("-DAPP_VERSION=\"${CUTTER_VERSION_FULL}\"")
|
|||||||
|
|
||||||
|
|
||||||
add_executable(cutter ${UI_FILES} ${QRC_FILES} ${SOURCE_FILES} ${HEADER_FILES})
|
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})
|
target_link_libraries(cutter ${RADARE2_LIBRARIES})
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ VERSION = 1.0
|
|||||||
|
|
||||||
ICON = img/Enso.icns
|
ICON = img/Enso.icns
|
||||||
|
|
||||||
QT += core gui widgets webengine webenginewidgets
|
QT += core gui widgets webenginewidgets
|
||||||
QT_CONFIG -= no-pkg-config
|
QT_CONFIG -= no-pkg-config
|
||||||
CONFIG += c++11
|
CONFIG += c++11
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user