use Qt WebKit module

This commit is contained in:
wmayer
2016-12-13 19:48:22 +01:00
parent 11ffc5bca9
commit c33f73eb99
4 changed files with 12 additions and 6 deletions

View File

@@ -4,7 +4,6 @@ include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${Boost_INCLUDE_DIRS}
${COIN3D_INCLUDE_DIRS}
${QT_INCLUDE_DIR}
${ZLIB_INCLUDE_DIR}
${PYTHON_INCLUDE_DIRS}
${XercesC_INCLUDE_DIRS}
@@ -15,7 +14,11 @@ set(_TEMPLATE_Gui_LIBS
FreeCADGui
)
qt4_add_resources(_TEMPLATE__QRC_SRCS Resources/_TEMPLATE_.qrc)
if (BUILD_QT5)
qt5_add_resources(_TEMPLATE__QRC_SRCS Resources/_TEMPLATE_.qrc)
else()
qt4_add_resources(_TEMPLATE__QRC_SRCS Resources/_TEMPLATE_.qrc)
endif()
SET(_TEMPLATE_Gui_SRCS
${_TEMPLATE__QRC_SRCS}