diff --git a/CMakeLists.txt b/CMakeLists.txt index fae60f8a..c87695f7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,6 +52,7 @@ find_package(Qt4) if (QT4_FOUND) set( QT_USE_QTGUI TRUE ) set( QT_USE_QTUITOOLS TRUE ) + set( QT_USE_QTXML TRUE ) include( ${QT_USE_FILE} ) include_directories( ${CMAKE_CURRENT_SOURCE_DIR} diff --git a/frontend_qt4/CMakeLists.txt b/frontend_qt4/CMakeLists.txt index 149366ce..13489942 100644 --- a/frontend_qt4/CMakeLists.txt +++ b/frontend_qt4/CMakeLists.txt @@ -19,7 +19,7 @@ add_dependencies(QZint_frontend QZint zint) link_directories( "${CMAKE_BINARY_DIR}/backend" "${CMAKE_BINARY_DIR}/backend_qt4" ) -target_link_libraries(QZint_frontend zint QZint ${QT_QTUITOOLS_LIBRARY} ${QT_QTGUI_LIBRARY} +target_link_libraries(QZint_frontend zint QZint ${QT_QTUITOOLS_LIBRARY} ${QT_QTXML_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTCORE_LIBRARY} ) install(TARGETS QZint_frontend DESTINATION "${BIN_INSTALL_DIR}" RUNTIME)