summaryrefslogtreecommitdiffstats
path: root/qtinterface
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-10-08 13:05:13 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-10-08 13:05:13 +0900
commit6d11f6b351b77d1c9644630cfcaa2c3ce63998d5 (patch)
treec6e2a465e4fc0432746338c9a7e1d6f763161324 /qtinterface
parentcdf40894ad783e220dc6cf4b012e429f191ba5f7 (diff)
downloadtqtinterface-6d11f6b351b77d1c9644630cfcaa2c3ce63998d5.tar.gz
tqtinterface-6d11f6b351b77d1c9644630cfcaa2c3ce63998d5.zip
Remove tmoc
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'qtinterface')
-rw-r--r--qtinterface/CMakeLists.txt10
-rwxr-xr-xqtinterface/interface_tqt3/tmoc.cmake19
-rw-r--r--qtinterface/tqt.pc.cmake2
3 files changed, 0 insertions, 31 deletions
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 <input_file> -o <out_file>"
-else
- input_file="$1"
- out_file="$3"
- cat "${input_file}" | \
- @MOC_EXECUTABLE@ | \
- sed "/#include <tqmetaobject.h>/ 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