I compiled and executed successfully the same project by removing all QtWebKit-related classes.
This means that probably I haven't set up well Qt or something.
Any ideas?

@Archa4 : I had just enabled the release and debug mode.