Some minor cleaning up [ci skip].
Trying a different way to handle qt.conf [ci skip].

The reason is that on Linux (Ubuntu 14.04 LTS at least), qt.conf
doesn’t seem to be recognised, meaning that OpenCOR can’t load xcb.
Anyway, we here use the first option mentioned at
http://qt-project.org/doc/qt-5/qt-conf.html.