enumeration compatibility
Merge branch 'codereview' of github.com:alexzhh/qt_practice into codereview
update pro for mac, the original one was broken