Hi Roni,

Thanks for the change.  I have just merged the two files and on building am
getting the error:

/home/robert/OpenSceneGraph/src/osgQt/GraphicsWindowQt.cpp: In constructor
‘osgQt::GLWidget::GLWidget(QWidget*, const QGLWidget*, Qt::WindowFlags,
bool)’:
/home/robert/OpenSceneGraph/src/osgQt/GraphicsWindowQt.cpp:137:42: error:
‘devicePixelRatio’ was not declared in this scope
     _devicePixelRatio = devicePixelRatio();

I have Qt5 installed from the Kubunutu 13.10 repository the version is:

$ pkg-config --modversion Qt5Core
5.0.2

Is this an issue with a missing include, or namespace, or version issue?

Robert.


On 17 January 2014 18:16, Roni Zanolli <[email protected]> wrote:

> Hi Robert,
>
> I have made the changed you suggested to _devicePixelRatio and I have
> built a zip file which contains a directory osgQt with GraphicsWindowQt and
> GraphicsWindowQt.cpp.
> The only difference on the header file from the original osg3.3.0 is a
> protected variable in the class GLWidget.
>
> qreal  _devicePixelRatio;
>
> Cheers,
> Roni
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=57907#57907
>
>
>
>
> Attachments:
> http://forum.openscenegraph.org//files/osgqt_902.zip
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
>
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to