With the ever growing package size.. these paths can become cumbersome. I remember gnome having a gnome-config executable which will work something like gcc `gnome-config gnome --cflags` my_gnome_hello_world.c which will add all the cflags including the include paths that are relevent to the gnome package.(see man gnome-config) You should see if something similar to this exists for kde and qt. Hope this doesnt confuse you :) Spundun On Sun, 2003-03-16 at 16:32, Alex Schuster wrote: > Christopher asks: > > > I want to start learning to program w/ gcc and qt. I've run into my > > first problem. How do I get gcc to recognize /usr/qt/3/include/ as a > > valid include path (so that I can refer to the qt header files with <> > > insted of spelling them out with "") > > Well, this is not really Gentoo-specific, but you can use the -I > option to gcc. > gcc -I /some/path/include -o foo foo.c > > Alex
-- [EMAIL PROTECTED] mailing list