fix QMacStyle test by usingg QStyleFactory (QMaxStyle is private now)
fix QMacStyle test by usingg QStyleFactory (QMaxStyle is private now)

BadSingleton/pyside2,qtproject/pyside-pyside,IronManMark20/pyside2,IronManMark20/pyside2,qtproject/pyside-pyside,gbaty/pyside2,BadSingleton/pyside2,BadSingleton/pyside2,gbaty/pyside2,gbaty/pyside2,qtproject/pyside-pyside,gbaty/pyside2,IronManMark20/pyside2,BadSingleton/pyside2,gbaty/pyside2,qtproject/pyside-pyside,IronManMark20/pyside2,qtproject/pyside-pyside,IronManMark20/pyside2,BadSingleton/pyside2