Browse Source

QtAutogen: Use upper case for MOC, UIC and RCC in messages

Sebastian Holtermann 9 years ago
parent
commit
39e07d7a17
2 changed files with 4 additions and 4 deletions
  1. 3 3
      Source/cmQtAutoGeneratorInitializer.cxx
  2. 1 1
      Source/cmQtAutoGenerators.cxx

+ 3 - 3
Source/cmQtAutoGeneratorInitializer.cxx

@@ -705,13 +705,13 @@ void cmQtAutoGeneratorInitializer::InitializeAutogenTarget(
   {
     std::vector<std::string> toolNames;
     if (target->GetPropertyAsBool("AUTOMOC")) {
-      toolNames.push_back("moc");
+      toolNames.push_back("MOC");
     }
     if (target->GetPropertyAsBool("AUTOUIC")) {
-      toolNames.push_back("uic");
+      toolNames.push_back("UIC");
     }
     if (target->GetPropertyAsBool("AUTORCC")) {
-      toolNames.push_back("rcc");
+      toolNames.push_back("RCC");
     }
 
     std::string tools = toolNames[0];

+ 1 - 1
Source/cmQtAutoGenerators.cxx

@@ -1389,7 +1389,7 @@ bool cmQtAutoGenerators::GenerateQrc(const std::string& qrcInputFile,
 
   if (this->GenerateAll || generateQrc) {
     {
-      std::string msg = "Generating QRC source ";
+      std::string msg = "Generating RCC source ";
       msg += qrcOutputFile;
       this->LogBold(msg);
     }