Replaced Qt5::Gui dependency of CommandLineModules/Core with Qt5::Widgets.