Mesut,

Your patch for the Qt display manager doesn't really fit to BRL-CAD.
Correct me if I'm wrong but it looks like some generated code.

Instead of trying to solve all problems at a time I recommend to go
step by step.  Start with the interface:
   - Use one of the dm-~.c files as a template and copy it to dm-qt.c
   - Rename the functions to qt_~ and remove all the function bodies
from this file.
   - Hook your new functions to the display manager as “qt”(?).
   - Compile and link BRL-CAD.
   - Start mged with qt as display manager.  Then you should see
nothing - but it shouldn't crash.

If you succeeded with this we can talk about transferring dm-qt.c to dm-qt.cpp.
And don't hesitate to ask if something isn't clear :)

Daniel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to