Explicitly specified the module that QDialogs are in to facilitate easier compilation.