diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2016-12-27 09:54:54 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2017-01-10 11:49:13 (GMT) |
commit | 2b9d795e63acf723a6abd79f3195ec70476442a5 (patch) | |
tree | 0278b731a21a171607fc55fb63e10d3d9d2954d6 /Source | |
parent | 2cfcdf757d032cdea8b980792007a6f9d749e6fb (diff) | |
download | CMake-2b9d795e63acf723a6abd79f3195ec70476442a5.zip CMake-2b9d795e63acf723a6abd79f3195ec70476442a5.tar.gz CMake-2b9d795e63acf723a6abd79f3195ec70476442a5.tar.bz2 |
AUTOGEN: Generators: Comments
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmQtAutoGenerators.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx index 6543ac6..a0949d4 100644 --- a/Source/cmQtAutoGenerators.cxx +++ b/Source/cmQtAutoGenerators.cxx @@ -62,6 +62,7 @@ static std::string findMatchingHeader( header = sourceFilePath; break; } + // Try subdirectory instead if (!mocSubDir.empty()) { sourceFilePath = mocSubDir + basename + "." + (*ext); if (cmsys::SystemTools::FileExists(sourceFilePath.c_str())) { @@ -653,7 +654,6 @@ bool cmQtAutoGenerators::ParseCppFile( // If the moc include is of the foo.moc style we need to look for // a Q_OBJECT macro in the current source file, if it contains the // macro we generate the moc file from the source file. - // Q_OBJECT if (mocUnderscoreStyle) { // basename should be the part of the moc filename used for // finding the correct header, so we need to remove the moc_ part |