Forgot to include QtMainWindow.cpp in the patch