Currently on Windows private headers are needed when #include <QtGui> is used. \include\QtGui\QtGui \include\QtGui\QPlatformNativeInterface which needs 5.0.0\qpa\qplatformnativeinterface.h Is this by design? Peter