Ptr<> System question
Posted: 14 Feb 2013, 23:58
Hi there. As there's not a lot of activity there, and i got a question (yes.. Another one :p), i hope that it's ok if i ask it there.
As i'm actually trying to use NoesisGUI and make it to work with Ogre and Qt (and i'm almost done with it, it can compile, i juste did a wrong initialization of Noesis), i get a bit lost in the Ptr<> System with all these dynamic cast.
I was wondering why did you choose (or maybe and more probably had to) use this system of Ptr which gets a bit confusing to me (and even more to QtCreator ^^)?
If you don't mind to explain it to me, i would be pleased to hear more about it and get the real meaning of this system, why and why not using "standard" pointers as
PS: I saw a few mistakes in the documentation during my search phasis through the tutorials 
On the "building an application" one, you open the windows tag but at the end close with a </Grid> which i guess is a mistake
(I might be wrong as well, but i tried it either, and it didn't work
)
As i'm actually trying to use NoesisGUI and make it to work with Ogre and Qt (and i'm almost done with it, it can compile, i juste did a wrong initialization of Noesis), i get a bit lost in the Ptr<> System with all these dynamic cast.
I was wondering why did you choose (or maybe and more probably had to) use this system of Ptr which gets a bit confusing to me (and even more to QtCreator ^^)?
If you don't mind to explain it to me, i would be pleased to hear more about it and get the real meaning of this system, why and why not using "standard" pointers as
Code: Select all
UIElement *element = new UIElement(); On the "building an application" one, you open the windows tag but at the end close with a </Grid> which i guess is a mistake