On 2010-01-23 22:02, Carsten Neumann wrote:
> Hello all,
>
> while investigating Georg's problem I had to apply the attached patch to
> make the Qt4 code compile (it had problems finding the Qt headers). I
> did not want to apply the patch right away, because I was wondering if
> this is a problem with the way Fedora organizes the Qt headers or the
> configure/make build system?
> If you use 1.8 + Qt4 I'd appreciate if you could let me know where your
> Qt headers are and how you configure/build OpenSG. Or perhaps you have
> something like the attached applied locally?

I'm using 2.0 as you know, but anyway I think the #include-style you've 
swithced to in your patch is perferrable, both for aestethic reasons and 
for the fact that OpenSG&Qt using apps don't need to add a bazillon 
include paths to their config, only the top Qt dir.

The non-.h ending files are also the official way of including QT, IIUC. 
(they mostly forward to a corresponding qfoo.h file, a scheme similar to 
what has been discussed for OpenSG now and then.)

Anyway, you could change #include <Qt/qwidget.h> to #include 
<QtGui/QWidget> as well, etc.

Cheers,
/Marcus


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to