diff options
Diffstat (limited to 'src/ui/CMakeLists.txt')
-rw-r--r-- | src/ui/CMakeLists.txt | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/ui/CMakeLists.txt b/src/ui/CMakeLists.txt index c42c262..e5c9a07 100644 --- a/src/ui/CMakeLists.txt +++ b/src/ui/CMakeLists.txt @@ -85,7 +85,6 @@ set(fqterm_ui_UIS defineescape.ui ) -if(USE_QT5) qt5_wrap_ui(fqterm_ui_UIS_H ${fqterm_ui_UIS} ) @@ -99,17 +98,6 @@ qt5_create_translation(fqterm_ui_qm_file ${fqterm_ui_SRCS} ${CMAKE_SOURCE_DIR}/res/dict/ui_zh_CN.ts ) -else(USE_QT5) -qt4_wrap_ui(fqterm_ui_UIS_H - ${fqterm_ui_UIS} -) - -qt4_create_translation(fqterm_ui_qm_file - ${fqterm_ui_UIS} - ${fqterm_ui_SRCS} - ${CMAKE_SOURCE_DIR}/res/dict/ui_zh_CN.ts -) -endif(USE_QT5) include_directories( ${QT_INCLUDE_DIR} @@ -134,6 +122,4 @@ IF(NOT MCGGIT_WC_REVISION MATCHES "NOTFOUND") ADD_DEFINITIONS(-D "FQTERM_GIT_REVISION=\\\"${MCGGIT_WC_REVISION}\\\"") ENDIF(NOT MCGGIT_WC_REVISION MATCHES "NOTFOUND") -if(USE_QT5) - target_link_libraries(fqterm_ui Qt5::Core Qt5::Widgets) -endif(USE_QT5) +target_link_libraries(fqterm_ui Qt5::Core Qt5::Widgets) |