cmake: compile fix after QT_NO_CAST
cmake: compile fix after QT_NO_CAST

Change-Id: Ia289d7cded868200f2894178ac725d11bb90783a
Reviewed-by: hjk <6fac1c92f5b9c7890a04d7f8a9d8912d16355eac@ovi.com>

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