Qt UI: add workaround for loading icons in Mac OS X 10.9 (issue 1442)
See also: https://bugreports.qt-project.org/browse/QTBUG-34300
Qt UI: small code refactoring + cmake up