Adding QtWidgets dependency for Mac OS.