From 587657561bb870d457a188a80bc0ce918ef5a0bd Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 6 Oct 2024 17:29:49 +0900 Subject: Rename moc to tqmoc Signed-off-by: Michele Calgaro --- qmake/generators/unix/unixmake2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qmake/generators/unix/unixmake2.cpp') diff --git a/qmake/generators/unix/unixmake2.cpp b/qmake/generators/unix/unixmake2.cpp index 347186d75..c117a2d29 100644 --- a/qmake/generators/unix/unixmake2.cpp +++ b/qmake/generators/unix/unixmake2.cpp @@ -687,7 +687,7 @@ UnixMakefileGenerator::writeMakeParts(TQTextStream &t) //moc itself shouldn't have this dependency - this is a little kludgy but it is //better than the alternative for now. TQString moc = project->first("QMAKE_MOC"), target = project->first("TARGET"), - moc_dir = "$(TQTDIR)/src/moc"; + moc_dir = "$(TQTDIR)/src/tqmoc"; if(!project->isEmpty("QMAKE_MOC_SRC")) moc_dir = project->first("QMAKE_MOC_SRC"); fixEnvVariables(target); @@ -777,7 +777,7 @@ UnixMakefileGenerator::writeMakeParts(TQTextStream &t) TQString clean_targets; t << "mocclean:" << "\n"; - if(mocAware()) { + if(tqmocAware()) { if(!objMoc.isEmpty() || !srcMoc.isEmpty() || moc_incremental) { if(!objMoc.isEmpty()) t << "\t-$(DEL_FILE) $(OBJMOC)" << '\n'; -- cgit v1.2.3