Add Qt 5 support.
Only include Qt widgets if we are using Qt 5.
Merge branch 'master' into fft_filter