-DIMAGES_DIR=${TOP_SRC_DIR}/lib/images
-DRESOURCE_NAME=${resource_name}
-DMAPPED_DIR=${TOP_SRC_DIR}/lib/
- -P ${TOP_SRC_DIR}/development/cmake/modules/LyXCreateImagesResource.cmake
+ -P ${TOP_SCRIPT_PATH}/LyXCreateImagesResource.cmake
)
-qt4_add_resources(resource_files ${resource_name})
+qt_add_resources(resource_files ${resource_name})
add_definitions(-DQT_GENUINE_STR -DLYX_BUILD_QT4_FRONTEND)
else()
add_library(frontend_qt4 ${library_type} ${frontends_qt4_sources} ${frontends_qt4_headers} ${ui_files} ${resource_files})
endif()
+set_target_properties(frontend_qt4 PROPERTIES FOLDER "applications/LyX")
-
+qt_use_modules(frontend_qt4 Core Gui Widgets Concurrent)
target_link_libraries(frontend_qt4
frontends
${QT_QTCORE_LIBRARY}