Fix .ui code completion for some cmake projects
Fix .ui code completion for some cmake projects

CMake generates the ui*h file in the directory that corresponds to the
CMakeLists.txt. Creator does not have the information whihch
CMakeLists.txt file includes the .ui file. This patch adds a crude
heuristic that searches for the right CMakeLists.txt.

Task-number: QTCREATORBUG-8509
Change-Id: I0f31d9766c6b5988a00ab618026ea052690dd649
Reviewed-by: Tobias Hunger <012f8d714267bccc9d4766fbeace9f175fcc70c4@digia.com>

Distrotech/qtcreator,farseerri/git_code,richardmg/qtcreator,malikcjm/qtcreator,colede/qtcreator,farseerri/git_code,maui-packages/qt-creator,omniacreator/qtcreator,omniacreator/qtcreator,duythanhphan/qt-creator,kuba1/qtcreator,farseerri/git_code,kuba1/qtcreator,martyone/sailfish-qtcreator,colede/qtcreator,danimo/qt-creator,darksylinc/qt-creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,colede/qtcreator,maui-packages/qt-creator,malikcjm/qtcreator,omniacreator/qtcreator,martyone/sailfish-qtcreator,xianian/qt-creator,amyvmiwei/qt-creator,kuba1/qtcreator,kuba1/qtcreator,xianian/qt-creator,malikcjm/qtcreator,maui-packages/qt-creator,danimo/qt-creator,duythanhphan/qt-creator,darksylinc/qt-creator,malikcjm/qtcreator,omniacreator/qtcreator,darksylinc/qt-creator,danimo/qt-creator,colede/qtcreator,AltarBeastiful/qt-creator,danimo/qt-creator,duythanhphan/qt-creator,maui-packages/qt-creator,xianian/qt-creator,danimo/qt-creator,Distrotech/qtcreator,farseerri/git_code,richardmg/qtcreator,darksylinc/qt-creator,farseerri/git_code,omniacreator/qtcreator,malikcjm/qtcreator,xianian/qt-creator,richardmg/qtcreator,farseerri/git_code,Distrotech/qtcreator,Distrotech/qtcreator,colede/qtcreator,darksylinc/qt-creator,darksylinc/qt-creator,xianian/qt-creator,colede/qtcreator,AltarBeastiful/qt-creator,danimo/qt-creator,kuba1/qtcreator,malikcjm/qtcreator,omniacreator/qtcreator,darksylinc/qt-creator,colede/qtcreator,AltarBeastiful/qt-creator,kuba1/qtcreator,darksylinc/qt-creator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,duythanhphan/qt-creator,xianian/qt-creator,omniacreator/qtcreator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,maui-packages/qt-creator,danimo/qt-creator,kuba1/qtcreator,martyone/sailfish-qtcreator,kuba1/qtcreator,richardmg/qtcreator,xianian/qt-creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,xianian/qt-creator,duythanhphan/qt-creator,richardmg/qtcreator,malikcjm/qtcreator,danimo/qt-creator,farseerri/git_code,maui-packages/qt-creator,Distrotech/qtcreator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,Distrotech/qtcreator,kuba1/qtcreator,farseerri/git_code,danimo/qt-creator,AltarBeastiful/qt-creator,amyvmiwei/qt-creator,xianian/qt-creator,richardmg/qtcreator,amyvmiwei/qt-creator,duythanhphan/qt-creator,AltarBeastiful/qt-creator,maui-packages/qt-creator,duythanhphan/qt-creator,Distrotech/qtcreator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,richardmg/qtcreator,AltarBeastiful/qt-creator