QmlDesigner.DocumentManagment: Updating the Qt version when attaching
QmlDesigner.DocumentManagment: Updating the Qt version when attaching

Updating the Qt version when attaching the rewriter.
When the Qml file was opened first no project might have been
configured, but a valid project was opened later.

Change-Id: Iff59464bfe0d3628a99878d3463c8763087ad4f2
Reviewed-by: Marco Bubke <5254e489b34ec8bbce36789100e3fc0f41fa62ef@digia.com>

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