PDA

View Full Version : Crosscompiling warnings



SteM
30th July 2007, 14:24
Hi all,
i'm trying to crosscompile QT using MontaVista toolchain.
There is no problem on compiling with:
-- ./configure -platform linux-montavista -prefix target-mv
-- gmake sub-src

But looking the output of the process i see a number of warning messages:
warning: /usr/include/glib-2.0 is unsafe for cross-compiling
warning: /usr/include/freetype2 is unsafe for cross-compiling
warning: /usr/X11R6/include is unsafe for cross-compiling

That's true but how can i point to that directories in the target toolchian?

Thanks!

jacek
2nd August 2007, 20:26
If passing -L <path> to configure doesn't help, you can try tweaking the mkspec/.../qmake.conf file (of course after making a copy).