qmake/generators/win32/winmakefile.cpp
changeset 19 fcece45ef507
parent 18 2f34d5167611
child 30 5dc02b23752f
equal deleted inserted replaced
18:2f34d5167611 19:fcece45ef507
   148                     extension += suffix;
   148                     extension += suffix;
   149                     extension += ".lib";
   149                     extension += ".lib";
   150                     if(QMakeMetaInfo::libExists((*it).local() + Option::dir_sep + lib) ||
   150                     if(QMakeMetaInfo::libExists((*it).local() + Option::dir_sep + lib) ||
   151                        exists((*it).local() + Option::dir_sep + lib + extension)) {
   151                        exists((*it).local() + Option::dir_sep + lib + extension)) {
   152                         out = (*it).real() + Option::dir_sep + lib + extension;
   152                         out = (*it).real() + Option::dir_sep + lib + extension;
       
   153                         if (out.contains(QLatin1Char(' '))) {
       
   154                             out.prepend(QLatin1Char('\"'));
       
   155                             out.append(QLatin1Char('\"'));
       
   156                         }
   153                         break;
   157                         break;
   154                     }
   158                     }
   155                 }
   159                 }
   156             }
   160             }
   157             if(out.isEmpty())
   161             if(out.isEmpty())