Add QtCore namespace to dependent namespaces with QtGui.