devicePixelRatio() was introduced in Qt-5.1.0
Merge branch 'master' into test3dexport
#816 Refactor the colorschemes to better handle const objects. This was necessary to make initialization work properly using clang