PDA

View Full Version : Failure to build qt 4.5.1



doggrant
24th June 2009, 15:43
Hi,

I'm having an issue trying to build qt4.5.1 on ubuntu. I get the following error :-

In file included from styles/qgtkpainter_p.h:59,
from styles/qgtkstyle.cpp:72:
styles/gtksymbols_p.h:60:21: error: gtk/gtk.h: No such file or directory
make[1]: *** wait: No child processes. Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: *** wait: No child processes. Stop.
make: *** wait: No child processes. Stop.
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes. Stop.

I've already installed libgtk1.2-dev, and libgtk2.0-dev, and the include file can be found in either

linux:/usr/include$ find . -name gtk.h
./gtk-2.0/gtk/gtk.h
./gtk-1.2/gtk/gtk.h

any ideas anyone?

cheers,

David

doggrant
24th June 2009, 16:47
I've re-posted this here :-

http://www.qtcentre.org/forum/f-installation-and-deployment-5/t-qt-451-failed-to-build-with-gtkgtkh-no-such-file-or-directory-21966-post107033.html#post107033

Since it's an installation problem, and not a programming issue.