0

I want integrate Qt 5.6 and osg 3.4 with vs 2015.

I try many times but still failed. Does anyone integrate them successfully?

demonplus
  • 5,613
  • 12
  • 49
  • 68
  • Could you provide some example code showing what you've tried, and the issues/errors you've encountered? – Castaglia Mar 26 '16 at 03:34
  • I just use the osg example osgviewqt https://github.com/openscenegraph/OpenSceneGraph/blob/master/examples/osgviewerQt/osgviewerQt.cpp. when I debug this, there will be an exception {Exception thrown at 0x0FEE432F (osg130-osgQt.dll) in MYTEST.exe: 0xC0000005: Access violation reading location 0x00000027.} for return new this line osgQt::GraphicsWindowQt(traits.get()); – user6116274 Mar 27 '16 at 04:47

1 Answers1

0

maybe use a wrong lib

you need to use a lib ending with "d" in debug(e.g. osgQtd.lib), and without "d" in release (e.g. osgQt.lib)

elusive57
  • 1
  • 2