qt4: Use pkg-config to get needed includes.
qt4: More fixes.