QbsProjectManager: Take the file type into account...
QbsProjectManager: Take the file type into account...

...when rebuilding the project tree.

Consider this product:
CppApplication { files: ["form.ui"] }

Now change it to this:
QtGuiApplication { files: ["form.ui"] }

The qbs file tags will now include "ui", so the Qt Creator
file type must change from "UnknownFileType" to "FormType". Therefore,
we need to replace the respective file node in the tree.

Change-Id: I6aa7e66d1af584e8ded2ffbb9b1215e8fc1135b8
Reviewed-by: Joerg Bornemann <47777b9406dbddd02a3fdca8341789a013805a11@theqtcompany.com>

xianian/qt-creator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,Distrotech/qtcreator,Distrotech/qtcreator,danimo/qt-creator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,Distrotech/qtcreator,Distrotech/qtcreator,xianian/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,xianian/qt-creator,danimo/qt-creator,xianian/qt-creator,martyone/sailfish-qtcreator,danimo/qt-creator,Distrotech/qtcreator,martyone/sailfish-qtcreator,xianian/qt-creator,danimo/qt-creator,Distrotech/qtcreator,danimo/qt-creator,xianian/qt-creator,xianian/qt-creator,danimo/qt-creator,Distrotech/qtcreator,xianian/qt-creator,xianian/qt-creator,martyone/sailfish-qtcreator,danimo/qt-creator,martyone/sailfish-qtcreator,danimo/qt-creator