From: Daniel R. <dan...@go...> - 2012-06-04 07:59:33
|
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 |