summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-10-08 13:09:49 +0900
committerMichele Calgaro <[email protected]>2024-10-08 13:09:49 +0900
commitb907b3983c89894ad2bcf6327ffef50609f39b09 (patch)
treebf9c7f87c88094420d6c0fc3c2fd4fa8968c9133
parent68f284461f4bd0698f59f5d77f5d1295d72a124c (diff)
downloadavahi-tqt-b907b3983c89894ad2bcf6327ffef50609f39b09.tar.gz
avahi-tqt-b907b3983c89894ad2bcf6327ffef50609f39b09.zip
Use tqmoc instead of mocHEADmaster
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--avahi-tqt/CMakeLists.txt8
-rw-r--r--avahi-tqt/qt-watch.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/avahi-tqt/CMakeLists.txt b/avahi-tqt/CMakeLists.txt
index 566e2e7..dbd0400 100644
--- a/avahi-tqt/CMakeLists.txt
+++ b/avahi-tqt/CMakeLists.txt
@@ -42,16 +42,16 @@ tde_add_library(
add_custom_command(
OUTPUT
- qt-watch.moc3
+ qt-watch.moc
COMMAND
- ${MOC_EXECUTABLE}
+ ${TQMOC_EXECUTABLE}
${CMAKE_CURRENT_SOURCE_DIR}/qt-watch.cpp
- -o qt-watch.moc3
+ -o qt-watch.moc
)
set_property(
SOURCE qt-watch.cpp
- APPEND PROPERTY OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/qt-watch.moc3
+ APPEND PROPERTY OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/qt-watch.moc
)
diff --git a/avahi-tqt/qt-watch.cpp b/avahi-tqt/qt-watch.cpp
index 19d7964..21d1f6b 100644
--- a/avahi-tqt/qt-watch.cpp
+++ b/avahi-tqt/qt-watch.cpp
@@ -180,4 +180,4 @@ const AvahiPoll* avahi_qt_poll_get(void)
return &qt_poll;
}
-#include "qt-watch.moc3"
+#include "qt-watch.moc"