Hi,

Is it possible for designer custom widget to tell to designer (Qt 4), that include returned by QDesignerCustomWidgetInterface::includeFile() is global (ie. it should be generated like #include <something.h> and not #include "something.h" in .h file)?
I know it is possible to achieve desired behavior by adding attribute location to header element in .ui file (something like
Qt Code:
  1. <header location="global">rdswidget/smaptree.h</header>
To copy to clipboard, switch view to plain text mode 
), but I need my custom widget to make designer to do it automaticaly. Adding this element to domXml() method of widget interface doesn't seem to work.

Thanks a lot

Martin