summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmQTWrapUICommand.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmQTWrapUICommand.cxx b/Source/cmQTWrapUICommand.cxx
index 938c158..6a6d902 100644
--- a/Source/cmQTWrapUICommand.cxx
+++ b/Source/cmQTWrapUICommand.cxx
@@ -101,16 +101,16 @@ bool cmQTWrapUICommand::InitialPass(std::vector<std::string> const& argsIn)
{
headerListValue += ";";
}
- headerListValue += header_file.GetSourceName() + ".h";
+ headerListValue += header_file.GetFullPath();
// create the list of sources
if (sourceListValue.size() > 0)
{
sourceListValue += ";";
}
- sourceListValue += source_file.GetSourceName() + ".cxx";
+ sourceListValue += source_file.GetFullPath();
sourceListValue += ";";
- sourceListValue += moc_file.GetSourceName() + ".cxx";
+ sourceListValue += moc_file.GetFullPath();
}
}