Changed calling of deprecated constructor
Changed IDE.pro deprecated rule and now it compiles with qt5