diff --git a/dependencies.py b/dependencies.py index b670d14e8..47bd1c0aa 100644 --- a/dependencies.py +++ b/dependencies.py @@ -519,7 +519,7 @@ class Qt5Dependency(Dependency): 'moc_@BASENAME@.cpp', 'moc_headers', 'moc_hdr_compile', 'Compiling header @INFILE@ with the moc preprocessor') mocsrc_rule = CustomRule([self.moc.get_command(), '@INFILE@', '-o', '@OUTFILE@'], - 'moc@BASENAME@.moc', 'moc_sources', 'moc_src_compile', + '@BASENAME@.moc', 'moc_sources', 'moc_src_compile', 'Compiling source @INFILE@ with the moc preprocessor') ui_rule = CustomRule([self.uic.get_command(), '@INFILE@', '-o', '@OUTFILE@'], 'ui_@BASENAME@.h', 'ui_files', 'ui_compile', diff --git a/test cases/frameworks/4 qt5/mocinclude.cpp b/test cases/frameworks/4 qt5/mocinclude.cpp index 7c188673b..269311368 100644 --- a/test cases/frameworks/4 qt5/mocinclude.cpp +++ b/test cases/frameworks/4 qt5/mocinclude.cpp @@ -9,4 +9,4 @@ int mocfunc() { return 0; } -#include"mocmocinclude.moc" +#include"mocinclude.moc"