changed the .pro and the includes, in this way there should be no problem compiling with qt4 or qt5