4 file(GLOB frontends_qt4_sources ${TOP_SRC_DIR}/src/frontends/qt4/*.C)
5 file(GLOB frontends_qt4_headers ${TOP_SRC_DIR}/src/frontends/qt4/*.h)
6 file(GLOB frontend_qt4_UI ${TOP_SRC_DIR}/src/frontends/qt4/ui/*.ui)
9 lyx_automoc(${frontends_qt4_sources})
11 lyx_add_ui_files(frontends_qt4_sources ${frontend_qt4_UI})
13 source_group("Uic files" FILES ${frontend_qt4_UI})
15 add_definitions(-DQT_NO_STL)
17 include_directories( ${TOP_SRC_DIR}/src/frontends/qt4
18 ${TOP_SRC_DIR}/src/frontends/controllers
19 ${CMAKE_CURRENT_BINARY_DIR})
21 add_library(frontend_qt4 STATIC ${frontends_qt4_sources} ${frontends_qt4_headers})
23 target_link_libraries(frontend_qt4 ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} controllers)
26 target_link_libraries(frontend_qt4 Gdi32)