Browse Source

Merge branch 'autogen_uic_empty_fix_3_13' into release-3.13

Merge-request: !2667
Brad King 7 years ago
parent
commit
0f0c8a2c7d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmQtAutoGenInitializer.cxx

+ 1 - 1
Source/cmQtAutoGenInitializer.cxx

@@ -1409,7 +1409,7 @@ bool cmQtAutoGenInitializer::GetUicExecutable()
   }
 
   // Test uic command
-  if (err.empty()) {
+  if (err.empty() && !this->Uic.Executable.empty()) {
     if (cmSystemTools::FileExists(this->Uic.Executable, true)) {
       std::vector<std::string> command;
       command.push_back(this->Uic.Executable);