Improved example project settings.
Hide Qt 4.8 compiler warning in examples.