From 6d11f6b351b77d1c9644630cfcaa2c3ce63998d5 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 8 Oct 2024 13:05:13 +0900 Subject: Remove tmoc Signed-off-by: Michele Calgaro --- qtinterface/CMakeLists.txt | 10 ---------- qtinterface/interface_tqt3/tmoc.cmake | 19 ------------------- qtinterface/tqt.pc.cmake | 2 -- 3 files changed, 31 deletions(-) delete mode 100755 qtinterface/interface_tqt3/tmoc.cmake (limited to 'qtinterface') diff --git a/qtinterface/CMakeLists.txt b/qtinterface/CMakeLists.txt index ba75186..d029e71 100644 --- a/qtinterface/CMakeLists.txt +++ b/qtinterface/CMakeLists.txt @@ -35,15 +35,6 @@ install( FILES ${IFACE}/tqmodules.h DESTINATION ${INCLUDE_INSTALL_DIR} ) -##### tqt tools ################################# - -configure_file( ${IFACE}/tmoc.cmake tmoc @ONLY ) - -install( PROGRAMS - ${CMAKE_CURRENT_BINARY_DIR}/tmoc - DESTINATION ${BIN_INSTALL_DIR} ) - - ##### tqt pkgconfig ############################# string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_EXEC_PREFIX ${EXEC_INSTALL_PREFIX} ) @@ -64,7 +55,6 @@ install( FILES ${CMAKE_CURRENT_BINARY_DIR}/tqtqui.pc DESTINATION ${PKGCONFIG_INS ##### tqt (shared) ############################## - tde_add_library( tqt SHARED SOURCES ${IFACE}/tqapplication.cpp VERSION 4.2.0 diff --git a/qtinterface/interface_tqt3/tmoc.cmake b/qtinterface/interface_tqt3/tmoc.cmake deleted file mode 100755 index 55f23fa..0000000 --- a/qtinterface/interface_tqt3/tmoc.cmake +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -# -# Very simple moc wrapper, for using with cmake -# - -if [ -z "$1" ]; then - echo "Usage: tmoc -o " -else - input_file="$1" - out_file="$3" - cat "${input_file}" | \ - @MOC_EXECUTABLE@ | \ - sed "/#include / i\\ -#undef TQT_NO_COMPAT\\ -#include \"${input_file}\"\\ -" \ - > "${out_file}" -fi diff --git a/qtinterface/tqt.pc.cmake b/qtinterface/tqt.pc.cmake index e47cabd..d042216 100644 --- a/qtinterface/tqt.pc.cmake +++ b/qtinterface/tqt.pc.cmake @@ -3,8 +3,6 @@ exec_prefix=@PC_EXEC_PREFIX@ libdir=@PC_LIB_DIR@ includedir=@PC_INCLUDE_DIR@ -tmoc_executable=@BIN_INSTALL_DIR@/tmoc -moc_executable=@MOC_EXECUTABLE@ uic_executable=@UIC_EXECUTABLE@ Name: TQt -- cgit v1.2.1