diff --git a/src/QGLView.h b/src/QGLView.h index 402a5d48..aaab8f57 100644 --- a/src/QGLView.h +++ b/src/QGLView.h @@ -40,7 +40,7 @@ public: else this->cam.projection = Camera::PERSPECTIVE; } std::string getRendererInfo() const; -#if QT_VERSION >= 0x050000 +#if QT_VERSION >= 0x050001 float getDPI() { return this->devicePixelRatio(); } #endif bool save(const char *filename);