Arthur
26th April 2007, 12:50
Hello,
I have a class, derived from QTreeWidget: DragDropTree.
I made a user interface with the Qt Designer and I replaced my QTreeWidget by my DragDropTree in the .ui file. The Designer does not render my widget, but that's not a real problem.
Once I do the custom build step with the .uic tool and compile my project I get an error:
"Cannot open include file: 'dragdroptable.h': No such file or directory"
This is because uic inserts a statement:
#include <dragdroptable.h>
in stead of
#include "dragdroptable.h"
Is there any way to easily avoid this problem? I couldn't find command line options to do so, just like the MOC tool.
Best regards,
Arthur
I have a class, derived from QTreeWidget: DragDropTree.
I made a user interface with the Qt Designer and I replaced my QTreeWidget by my DragDropTree in the .ui file. The Designer does not render my widget, but that's not a real problem.
Once I do the custom build step with the .uic tool and compile my project I get an error:
"Cannot open include file: 'dragdroptable.h': No such file or directory"
This is because uic inserts a statement:
#include <dragdroptable.h>
in stead of
#include "dragdroptable.h"
Is there any way to easily avoid this problem? I couldn't find command line options to do so, just like the MOC tool.
Best regards,
Arthur