Require QtSvg

This commit is contained in:
Florian Märkl 2017-11-21 12:58:43 +01:00
parent 79c57929be
commit 9927f2cf20
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)
find_package(Qt5 REQUIRED COMPONENTS Core Widgets Gui Svg)
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)
qt5_use_modules(cutter Core Widgets Gui Svg)
target_link_libraries(cutter ${RADARE2_LIBRARIES})

View File

@ -7,7 +7,7 @@ VERSION = 1.0
ICON = img/cutter.icns
QT += core gui widgets
QT += core gui widgets svg
QT_CONFIG -= no-pkg-config
CONFIG += c++11