Merge branch 'autogen_uic_empty_fix_3_13' into release-3.13

Merge-request: !2667
This commit is contained in:
Brad King
2018-11-27 08:45:58 -05:00

View File

@@ -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);