Qt-interest Archive, July 2007
Custom Widget
Message 1 in thread
Hi,
I have a problem using Qwt but the problem is related to custom widget
plugin and uic code generator.
I'm using Qwt library and I have compiled and installed it properly. I can
see the qwt widget in the designer and everything work fine until uic runs.
Uic generate the correct code to one exception: the header.
The header for QwtPlot is qwt_plot.h and uic generate the following line:
#include "qwt_plot.h"
Instead of:
#include <qwt_plot.h>
I used qwt with qt3 with no issue and uic always generate the include
between angle bracket how is it possible that qt4 generate this between
quote? How am I supposed to handle this?
Btw, I'm using Qt4.2 with visual studio 2005 sp1 and qt-vsintegration 1.2.2
Thank for your help
Utku
--
[ signature omitted ]
Message 2 in thread
On 30.07.07 13:53:14, Utku Salihoglu wrote:
> I have a problem using Qwt but the problem is related to custom widget
> plugin and uic code generator.
>
> I'm using Qwt library and I have compiled and installed it properly. I can
> see the qwt widget in the designer and everything work fine until uic runs.
> Uic generate the correct code to one exception: the header.
>
> The header for QwtPlot is qwt_plot.h and uic generate the following line:
>
> #include "qwt_plot.h"
>
> Instead of:
>
> #include <qwt_plot.h>
>
> I used qwt with qt3 with no issue and uic always generate the include
> between angle bracket how is it possible that qt4 generate this between
> quote? How am I supposed to handle this?
This shouldn't make the slightest difference, the only difference
between "" and <> is that with "" the compiler searches the current
directory first and then the include-dirs given via compiler switches.
So as long as you don't have a qwt_plot.h in your project you should be
fine. If not you should provide more information, for example the error
message and the compiler call that generates it
Andreas
--
[ signature omitted ]