From 83a1af15ab2f2a7a894db510441dd13428d97beb Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 1 Aug 2005 09:24:40 -0400 Subject: BUG: Patch from Filipe Sousa. QT_WRAP_CPP should generate the file moc_dlgmain.ui.cxx instead of moc_dlgmain.cxx. --- Source/cmQTWrapCPPCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmQTWrapCPPCommand.cxx b/Source/cmQTWrapCPPCommand.cxx index edf215a..39eb362 100644 --- a/Source/cmQTWrapCPPCommand.cxx +++ b/Source/cmQTWrapCPPCommand.cxx @@ -57,7 +57,7 @@ bool cmQTWrapCPPCommand::InitialPass(std::vector const& argsIn) { file.SetProperty("ABSTRACT",curr->GetProperty("ABSTRACT")); } - std::string srcName = cmSystemTools::GetFilenameWithoutExtension(*j); + std::string srcName = cmSystemTools::GetFilenameWithoutLastExtension(*j); std::string newName = "moc_" + srcName; file.SetName(newName.c_str(), m_Makefile->GetCurrentOutputDirectory(), "cxx",false); -- cgit v0.12