Utils::Environment::searchInPath do not return directories
Utils::Environment::searchInPath do not return directories

Task-Nr: QTCREATORBUG-3736
Reviewed-By: Friedemann Kleint

omniacreator/qtcreator,farseerri/git_code,martyone/sailfish-qtcreator,yinyunqiao/qtcreator,renatofilho/QtCreator,farseerri/git_code,darksylinc/qt-creator,duythanhphan/qt-creator,kuba1/qtcreator,yinyunqiao/qtcreator,kuba1/qtcreator,colede/qtcreator,xianian/qt-creator,syntheticpp/qt-creator,ostash/qt-creator-i18n-uk,kuba1/qtcreator,danimo/qt-creator,malikcjm/qtcreator,KDE/android-qt-creator,darksylinc/qt-creator,darksylinc/qt-creator,ostash/qt-creator-i18n-uk,AltarBeastiful/qt-creator,KDE/android-qt-creator,hdweiss/qt-creator-visualizer,duythanhphan/qt-creator,duythanhphan/qt-creator,azat/qtcreator,xianian/qt-creator,hdweiss/qt-creator-visualizer,maui-packages/qt-creator,renatofilho/QtCreator,sandsmark/qtcreator-minimap,xianian/qt-creator,sandsmark/qtcreator-minimap,bakaiadam/collaborative_qt_creator,malikcjm/qtcreator,KDE/android-qt-creator,farseerri/git_code,Distrotech/qtcreator,pcacjr/qt-creator,KDE/android-qt-creator,Distrotech/qtcreator,jonnor/qt-creator,danimo/qt-creator,azat/qtcreator,pcacjr/qt-creator,azat/qtcreator,AltarBeastiful/qt-creator,renatofilho/QtCreator,amyvmiwei/qt-creator,KDE/android-qt-creator,richardmg/qtcreator,syntheticpp/qt-creator,malikcjm/qtcreator,martyone/sailfish-qtcreator,dmik/qt-creator-os2,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,KDAB/KDAB-Creator,ostash/qt-creator-i18n-uk,yinyunqiao/qtcreator,maui-packages/qt-creator,farseerri/git_code,richardmg/qtcreator,pcacjr/qt-creator,duythanhphan/qt-creator,amyvmiwei/qt-creator,dmik/qt-creator-os2,omniacreator/qtcreator,omniacreator/qtcreator,KDAB/KDAB-Creator,syntheticpp/qt-creator,hdweiss/qt-creator-visualizer,xianian/qt-creator,yinyunqiao/qtcreator,AltarBeastiful/qt-creator,hdweiss/qt-creator-visualizer,darksylinc/qt-creator,KDE/android-qt-creator,yinyunqiao/qtcreator,darksylinc/qt-creator,kuba1/qtcreator,ostash/qt-creator-i18n-uk,AltarBeastiful/qt-creator,Distrotech/qtcreator,bakaiadam/collaborative_qt_creator,colede/qtcreator,duythanhphan/qt-creator,pcacjr/qt-creator,Distrotech/qtcreator,jonnor/qt-creator,bakaiadam/collaborative_qt_creator,danimo/qt-creator,yinyunqiao/qtcreator,dmik/qt-creator-os2,sandsmark/qtcreator-minimap,bakaiadam/collaborative_qt_creator,colede/qtcreator,danimo/qt-creator,darksylinc/qt-creator,KDE/android-qt-creator,farseerri/git_code,kuba1/qtcreator,KDAB/KDAB-Creator,azat/qtcreator,duythanhphan/qt-creator,dmik/qt-creator-os2,colede/qtcreator,danimo/qt-creator,richardmg/qtcreator,Distrotech/qtcreator,bakaiadam/collaborative_qt_creator,renatofilho/QtCreator,omniacreator/qtcreator,bakaiadam/collaborative_qt_creator,xianian/qt-creator,pcacjr/qt-creator,maui-packages/qt-creator,amyvmiwei/qt-creator,ostash/qt-creator-i18n-uk,pcacjr/qt-creator,omniacreator/qtcreator,kuba1/qtcreator,farseerri/git_code,AltarBeastiful/qt-creator,danimo/qt-creator,darksylinc/qt-creator,dmik/qt-creator-os2,AltarBeastiful/qt-creator,Distrotech/qtcreator,azat/qtcreator,malikcjm/qtcreator,amyvmiwei/qt-creator,malikcjm/qtcreator,jonnor/qt-creator,maui-packages/qt-creator,Distrotech/qtcreator,omniacreator/qtcreator,xianian/qt-creator,richardmg/qtcreator,syntheticpp/qt-creator,xianian/qt-creator,danimo/qt-creator,renatofilho/QtCreator,maui-packages/qt-creator,amyvmiwei/qt-creator,hdweiss/qt-creator-visualizer,jonnor/qt-creator,duythanhphan/qt-creator,ostash/qt-creator-i18n-uk,renatofilho/QtCreator,maui-packages/qt-creator,jonnor/qt-creator,hdweiss/qt-creator-visualizer,farseerri/git_code,maui-packages/qt-creator,colede/qtcreator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,azat/qtcreator,darksylinc/qt-creator,richardmg/qtcreator,jonnor/qt-creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,kuba1/qtcreator,dmik/qt-creator-os2,malikcjm/qtcreator,martyone/sailfish-qtcreator,xianian/qt-creator,amyvmiwei/qt-creator,KDAB/KDAB-Creator,ostash/qt-creator-i18n-uk,KDAB/KDAB-Creator,sandsmark/qtcreator-minimap,AltarBeastiful/qt-creator,danimo/qt-creator,sandsmark/qtcreator-minimap,omniacreator/qtcreator,amyvmiwei/qt-creator,syntheticpp/qt-creator,syntheticpp/qt-creator,richardmg/qtcreator,colede/qtcreator,yinyunqiao/qtcreator,malikcjm/qtcreator,kuba1/qtcreator,KDAB/KDAB-Creator,syntheticpp/qt-creator,KDE/android-qt-creator,dmik/qt-creator-os2,danimo/qt-creator,bakaiadam/collaborative_qt_creator,kuba1/qtcreator,colede/qtcreator,farseerri/git_code,sandsmark/qtcreator-minimap,pcacjr/qt-creator,martyone/sailfish-qtcreator,xianian/qt-creator,richardmg/qtcreator