Trying to get GraphicsSystem (Ogre 2.1) into the main window of a Qt app. I added QWindow to GraphicsSystem as a class to inherit from, hoping to then upcast in the call to createWindowContainer. Can someone take a look and maybe offer a few comments on this, or enough to get past this error which I thought should work.
It looks like you are casting against the wrong window i.e the render window. You should be casting against the derived class GraphicsSystem pointer ( &graphicsSystem ?? ) since it has a base class QWindow.
Thanks, but this confirmed my suspicions. I had already been looking at HLMSEditor, which is based off of Magnus making them one in the same. They do not work with the current Samples framework. In fact, they're very different. OgreManager and QOgreWidget are complete rewrites of GraphicsSystem, making the reasoning I keep hearing for using the Samples framework completely useless. This is why I absolutely hate that Samples framework, it's unusable for anything but those tutorials.