Fix compiler warnings/some string handling in qttest.
Fix compiler warnings/some string handling in qttest.

Change-Id: I593ee69bed193fdd1b1f9aa49da02bf77aaca523
Reviewed-on: http://codereview.qt.nokia.com/3674
Reviewed-by: Friedemann Kleint <1b9f2592239daaec4856ccc1cfb4d2d55b35fb71@nokia.com>

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